Hi Doo,
If you’re using an FMOD Studio project with Unity, you would set the event to loop instead of trying to script it.
In the project, right click on the black logic track above the audio tracks and select “Add Loop Region”. You can then extend this loop region to the length of your event.
Thanks,
Richard