I have been getting the following error in unity:
"FMOD Error (ERR_EVENT_NOTFOUND): The requested Studio API object could not be found. "
When I tried running the following code:
protected FMOD.Studio.EventInstance SoundEvent;
protected void Start()
SoundEvent = FMOD_StudioSystem.instance.GetEvent("event:/Click");
I even ran through the check list posted in the sticky thread "Import workflow changed " and am fairly sure things are set up correctly. I can even play the sounds located in Assets/FMODAssets.
edit: Imagine of the event inside unity:
Thanks for the help.
- CapelaGames asked 2 years ago
[quote="atomtwist":1y1igr2a]Do you have an fmod listener in the scene?
It also spits out this error when there is no listener…[/quote:1y1igr2a]
I had already put a listener on my camera, however when I checked today there was no listener! haha
So, once I attached the listener the error went away, thanks
I have been having another issue;
while the error is gone, the audio still doesn’t play, even thou SoundEvent.start() returns OK.
[code:2mlewq39] public void FMODPlay()
FMOD.RESULT result = SoundEvent.start();
//Checking for the issue float volume; SoundEvent.getVolume(out volume); bool paused; SoundEvent.getPaused(out paused); Debug.Log(result.ToString()); //returns OK Debug.Log(volume); //returns 1 Debug.Log(paused); //returns False }[/code:2mlewq39]
I feel like an idiot haha 😆
Please login first to submit.