Error causing no sound in Unity


(phillee53) #1

Hi,

I’m getting this error whilst working on the Viking Tutorial in mac. Everything seems to be working after following the videos except no sound in play mode. Audio auditions fine in Event Browser. Have the most up to date FMOD and Unity integration.

Thanks…

BankLoadException: FMOD Studio could not load bank ‘/Volumes/2nd INT DRIVE/phillee/Documents/FMOD/Viking Demo/Build/Desktop/Master Bank.bank’ : ERR_PLUGIN_MISSING : A requested output, dsp unit type or codec was not available.
FMODUnity.RuntimeManager.LoadBank (System.String bankName, Boolean loadSamples) (at Assets/Plugins/FMOD/RuntimeManager.cs:602)
FMODUnity.RuntimeManager.Initialiase (Boolean forceNoNetwork) (at Assets/Plugins/FMOD/RuntimeManager.cs:281)
UnityEngine.Debug:LogException(Exception)
FMODUnity.RuntimeManager:Initialiase(Boolean) (at Assets/Plugins/FMOD/RuntimeManager.cs:285)
FMODUnity.RuntimeManager:Initialiase(Boolean) (at Assets/Plugins/FMOD/RuntimeManager.cs:239)
FMODUnity.RuntimeManager:get_Instance() (at Assets/Plugins/FMOD/RuntimeManager.cs:79)
FMODUnity.RuntimeManager:PathToGUID(String) (at Assets/Plugins/FMOD/RuntimeManager.cs:689)
FMODUnity.RuntimeManager:GetEventDescription(String) (at Assets/Plugins/FMOD/RuntimeManager.cs:764)
FMODUnity.StudioEventEmitter:Lookup() (at Assets/Plugins/FMOD/StudioEventEmitter.cs:110)
FMODUnity.StudioEventEmitter:Play() (at Assets/Plugins/FMOD/StudioEventEmitter.cs:127)
FMODUnity.StudioEventEmitter:HandleGameEvent(EmitterGameEvent) (at Assets/Plugins/FMOD/StudioEventEmitter.cs:100)
FMODUnity.StudioEventEmitter:Start() (at Assets/Plugins/FMOD/StudioEventEmitter.cs:45)


(Cameron Baron) #2

In the video, Daniel links the Unity project with the FMOD Studio project, doing this you need to make sure the banks are being built into the FMOD Studio project directory.
This error looks like it cannot find the banks or they aren’t built correctly.

Refer to http://www.fmod.org/documentation/#content/generated/engine_new_unity/getting_started.html


(phillee53) #3

Thanks Cameron, it seems my builds were building into a different folder outside of the current FMOD session and inside the Unity Assets folder. All good now…