Studio Parameter Trigger Script

#1

Don’t know coding too well just starting with it so forgive if the issue is simple or something I’m missing. I’m running through the base Viking Village tutorial and the standard FMOD Studio Parameter Trigger script is giving me an IndexOutOfRange error when trying to create the music trigger zones. I’m not sure if this is something I need to change on the FMOD side, the script is out of date, or if nobody uses the standard ones and I’ll have to figure out how to make my own parameter trigger script.

0 Likes

#2

Are you able to share the entire error message from the Unity console?

0 Likes

#3

Here is the message:

IndexOutOfRangeException: Index was outside the bounds of the array.
FMODUnity.StudioParameterTrigger.Awake () (at Assets/Plugins/FMOD/src/Runtime/StudioParameterTrigger.cs:33

0 Likes

#4

What version of FMOD are you using?

I believe I have found the issue and this should only occur in 2.0.

0 Likes