Hello!
I’m following the FMOD integration tutorial with Unity step by step, and everything has been working fine until I got to section 3.4, Adding Sounds: Kart Engine.
https://fmod.com/docs/2.02/unity/integration-tutorial.html
In that section, step 8 (“Play the game. You should now hear the kart engine playing at a constant RPM value of 1000”), I can’t hear any sound inside Unity. Unity’s internal audio is disabled. I have installed FMOD for Unity and have FMOD Studio open. However, when I press play on the game in Unity, I get a lot of errors in the console (end of the post).
My versions are:
Unity: 2021.3.45f2
FMOD: 2.03
FMOD For Unity: 2.03
I’m sorry, but I’m not a Unity user and I don’t know what any of these errors mean, although I am interested in learning how to integrate FMOD with the game engine. I would greatly appreciate any help.
Cheers!
[FMOD] Unable to load Dialogue_EN - bank already loaded. This may occur when attempting to load another localized bank before the first is unloaded, or if a bank has been loaded via the API.
UnityEngine.Debug:LogWarningFormat (string,object)
FMODUnity.RuntimeUtils:DebugLogWarningFormat (string,object) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:588)
FMODUnity.RuntimeManager:RegisterLoadedBank (FMODUnity.RuntimeManager/LoadedBank,string,string,bool,FMOD.RESULT) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:862)
FMODUnity.RuntimeManager:LoadBank (string,bool,string) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:971)
FMODUnity.RuntimeManager:LoadBank (string,bool) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:922)
FMODUnity.RuntimeManager:LoadBanks (FMODUnity.Settings) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:1054)
FMODUnity.RuntimeManager:Initialize () (at Assets/Plugins/FMOD/src/RuntimeManager.cs:411)
FMODUnity.RuntimeManager:get_Instance () (at Assets/Plugins/FMOD/src/RuntimeManager.cs:212)
FMODUnity.RuntimeManager:get_StudioSystem () (at Assets/Plugins/FMOD/src/RuntimeManager.cs:230)
FMODUnity.StudioListener:AddListener (FMODUnity.StudioListener) (at Assets/Plugins/FMOD/src/StudioListener.cs:97)
FMODUnity.StudioListener:OnEnable () (at Assets/Plugins/FMOD/src/StudioListener.cs:127)
[FMOD] Unable to load Dialogue_JP - bank already loaded. This may occur when attempting to load another localized bank before the first is unloaded, or if a bank has been loaded via the API.
UnityEngine.Debug:LogWarningFormat (string,object)
FMODUnity.RuntimeUtils:DebugLogWarningFormat (string,object) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:588)
FMODUnity.RuntimeManager:RegisterLoadedBank (FMODUnity.RuntimeManager/LoadedBank,string,string,bool,FMOD.RESULT) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:862)
FMODUnity.RuntimeManager:LoadBank (string,bool,string) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:971)
FMODUnity.RuntimeManager:LoadBank (string,bool) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:922)
FMODUnity.RuntimeManager:LoadBanks (FMODUnity.Settings) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:1054)
FMODUnity.RuntimeManager:Initialize () (at Assets/Plugins/FMOD/src/RuntimeManager.cs:411)
FMODUnity.RuntimeManager:get_Instance () (at Assets/Plugins/FMOD/src/RuntimeManager.cs:212)
FMODUnity.RuntimeManager:get_StudioSystem () (at Assets/Plugins/FMOD/src/RuntimeManager.cs:230)
FMODUnity.StudioListener:AddListener (FMODUnity.StudioListener) (at Assets/Plugins/FMOD/src/StudioListener.cs:97)
FMODUnity.StudioListener:OnEnable () (at Assets/Plugins/FMOD/src/StudioListener.cs:127)
[FMOD] PluginEffectModel::init : Missing DSP plugin ‘FMOD Haptics’
UnityEngine.Debug:LogWarning (object)
FMODUnity.RuntimeUtils:DebugLogWarning (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:DEBUG_CALLBACK (FMOD.DEBUG_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:108)
[FMOD] PostLoad::initPluginEffects : DSP plugin returned an error, bank will not load properly.
UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:596)
FMODUnity.RuntimeManager:DEBUG_CALLBACK (FMOD.DEBUG_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:104)
BankLoadException: [FMOD] Could not load bank ‘../../Audio Projects/FMOD/Karting Examples/Build/Desktop/Haptics.bank’ : ERR_PLUGIN_MISSING : A requested output, dsp unit type or codec was not available.
FMODUnity.RuntimeManager.RegisterLoadedBank (FMODUnity.RuntimeManager+LoadedBank loadedBank, System.String bankPath, System.String bankName, System.Boolean loadSamples, FMOD.RESULT loadResult) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:866)
FMODUnity.RuntimeManager.LoadBank (System.String bankName, System.Boolean loadSamples, System.String bankId) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:971)
FMODUnity.RuntimeManager.LoadBank (System.String bankName, System.Boolean loadSamples) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:922)
FMODUnity.RuntimeManager.LoadBanks (FMODUnity.Settings fmodSettings) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:1054)
UnityEngine.Debug:LogException(Exception)
FMODUnity.RuntimeUtils:DebugLogException(Exception) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:612)
FMODUnity.RuntimeManager:LoadBanks(Settings) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:1061)
FMODUnity.RuntimeManager:Initialize() (at Assets/Plugins/FMOD/src/RuntimeManager.cs:411)
FMODUnity.RuntimeManager:get_Instance() (at Assets/Plugins/FMOD/src/RuntimeManager.cs:212)
FMODUnity.RuntimeManager:get_StudioSystem() (at Assets/Plugins/FMOD/src/RuntimeManager.cs:230)
FMODUnity.StudioListener:AddListener(StudioListener) (at Assets/Plugins/FMOD/src/StudioListener.cs:97)
FMODUnity.StudioListener:OnEnable() (at Assets/Plugins/FMOD/src/StudioListener.cs:127)
[FMOD] ObjectLookup::get : Lookup failed for EventModel: {7aa5e8f1-8ec2-42c6-b465-1241a603a055}
UnityEngine.Debug:LogWarning (object)
FMODUnity.RuntimeUtils:DebugLogWarning (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:DEBUG_CALLBACK (FMOD.DEBUG_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:108)
FMOD.Studio.System:getEventByID (FMOD.GUID,FMOD.Studio.EventDescription&) (at Assets/Plugins/FMOD/src/fmod_studio.cs:464)
FMODUnity.RuntimeManager:GetEventDescription (FMOD.GUID) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:1367)
FMODUnity.RuntimeManager:GetEventDescription (FMODUnity.EventReference) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:1338)
FMODUnity.StudioEventEmitter:Lookup () (at Assets/Plugins/FMOD/src/StudioEventEmitter.cs:193)
FMODUnity.StudioEventEmitter:Play () (at Assets/Plugins/FMOD/src/StudioEventEmitter.cs:222)
FMODUnity.StudioEventEmitter:HandleGameEvent (FMODUnity.EmitterGameEvent) (at Assets/Plugins/FMOD/src/StudioEventEmitter.cs:183)
FMODUnity.StudioEventEmitter:Start () (at Assets/Plugins/FMOD/src/StudioEventEmitter.cs:130)
EventNotFoundException: [FMOD] Event not found: {7aa5e8f1-8ec2-42c6-b465-1241a603a055} (event:/Vehicles/Ride-on Mower)
FMODUnity.RuntimeManager.GetEventDescription (FMODUnity.EventReference eventReference) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:1342)
FMODUnity.StudioEventEmitter.Lookup () (at Assets/Plugins/FMOD/src/StudioEventEmitter.cs:193)
FMODUnity.StudioEventEmitter.Play () (at Assets/Plugins/FMOD/src/StudioEventEmitter.cs:222)
FMODUnity.StudioEventEmitter.HandleGameEvent (FMODUnity.EmitterGameEvent gameEvent) (at Assets/Plugins/FMOD/src/StudioEventEmitter.cs:183)
FMODUnity.StudioEventEmitter.Start () (at Assets/Plugins/FMOD/src/StudioEventEmitter.cs:130)
Didn’t find audio group for HUDObjective
UnityEngine.Debug:LogWarning (object)
AudioUtility:GetAudioGroup (AudioUtility/AudioGroups) (at Assets/Karting/Scripts/Utilities/AudioUtility.cs:42)
ObjectiveToast:PlaySound (UnityEngine.AudioClip) (at Assets/Karting/Scripts/UI/ObjectiveToast.cs:183)
ObjectiveToast:Update () (at Assets/Karting/Scripts/UI/ObjectiveToast.cs:117)