getEvent usage and errors

Hi,
Just started a new Unity project and tried using the callback code that was posted here but Unity keeps getting caught on this line:


instance = FMOD.Studio.System.getEvent("event:/Music/Complex/Situationl", out EventDescription _event);

with the out it errors w

instance = FMOD.Studio.System.getEvent("event:/Music/Complex/Situation_Oriental", out EventDescription _event);

and without:

There is no argument given that corresponds to the required formal parameter '_event' of 'System.getEvent(string, out EventDescription)'

Hi,

Could you link the post you are referring to?

A solution may be using the system the FMOD creates for you.
Try this code:

FMODUnity.RuntimeManager.StudioSystem.getEvent("event:/Music/Complex/Situation_Oriental", out FMOD.Studio.EventDescription _event);

Hope this helps!