Hi , I created a Snapshot in FMOD , I BUILD the Bank and I added the Snapshot using a component FMOD Studio Event and it worked on a Simple GameObject. I could hear the result of it.
Although, I would like to play and stop the snapshot from the code. Here what I did.
I Declared on top of the Script
FMOD.Studio.EventInstance snapshot;
Then under the function I want to hook
snapshot = FMODUnity.RuntimeManager.CreateInstance(“snapshot:/Dialogue”);
snapshot.start();
Here the Error it report when playing.
EventNotFoundException: [FMOD] Event not found: ‘Dialogue’
Since I was able to play the snapshot by using a FMOD Component using the same path , I really wonder if the script is right or if you can provide and easy solution to play stop a snapshot in script.
I was following this Tutorial maybe is not good anymore ?
Thanks