MacOS DllNotFoundException: fmodstudioL

Hi everyone, I’m getting DllNotFoundException: fmodstudioL when starting a MacOS build and it happens ONLY ON THE MAC OS BUILD.

I’ve read around on the forums and it seems like the DLL is not loaded from the beginning? That seems super weird to me, can I make it loaded on startup? Feels pretty unreliable to have to wait an undefined amount of time before using any FMOD functions.

Here’s the part from my crash log, first crash:

Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/fmodstudioL
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/fmodstudioL
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudioL
Uploading Crash Report
DllNotFoundException: fmodstudioL
  at (wrapper managed-to-native) FMOD.Memory.FMOD5_Memory_GetStats(int&,int&,bool)
  at FMOD.Memory.GetStats (System.Int32& currentalloced, System.Int32& maxalloced, System.Boolean blocking) [0x00001] in <9e6e49a912204f7a824ddc8f98705f7d>:0 
  at FMODUnity.RuntimeUtils.EnforceLibraryOrder () [0x00001] in <9e6e49a912204f7a824ddc8f98705f7d>:0 
  at FMODUnity.RuntimeManager.get_Instance () [0x0010f] in <9e6e49a912204f7a824ddc8f98705f7d>:0 
Rethrow as SystemNotInitializedException: [FMOD] Initialization failed
  at FMODUnity.RuntimeManager.get_Instance () [0x0014e] in <9e6e49a912204f7a824ddc8f98705f7d>:0 
  at FMODUnity.RuntimeManager.get_StudioSystem () [0x00000] in <9e6e49a912204f7a824ddc8f98705f7d>:0 
  at FMODUnity.RuntimeManager.GetBus (System.String path) [0x00001] in <9e6e49a912204f7a824ddc8f98705f7d>:0 
  at AudioManager.InitializeManager () [0x00001] in <eea339da6b5e4d4bb255bfef95601890>:0 
  at GameManager.Awake () [0x00085] in <eea339da6b5e4d4bb255bfef95601890>:0

I was having a similar issue on our project. To solve it, I made a backup of all of our FMOD project files, (the whole folder). Then removed it from our project entirely, and installed 2.01.06, then placed the backup files back in. That seemed to finally solve the issue for us.

Do you mean you updated the Unity Integration or FMOD Studio Suite?

Both

I’ll give it a try on Monday, thanks!

We’ve now updated to 2.01.06, both Integration and FMOD Studio Suite and it still doesn’t work.

I added a simple StudioEmitter to our intro splash screen and it instantly gives errors, this is the complete log, it’s essentially the same all the way but I wanted to include everything in case I missed something vital.

Mono path[0] = '/Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Resources/Data/Managed'
Mono config path = '/Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/MonoBleedingEdge/etc'
Loading player data from /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Resources/Data/data.unity3d
Initialize engine version: 2019.4.8f1 (60781d942082)
[Subsystems] Discovering subsystems at path /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Resources/Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
2020-11-24 21:18:09.692 TOEM[3291:70269] Color LCD preferred device: Intel(R) Iris(TM) Graphics 6100 (low power)
2020-11-24 21:18:09.692 TOEM[3291:70269] Metal devices available: 1
2020-11-24 21:18:09.693 TOEM[3291:70269] 0: Intel(R) Iris(TM) Graphics 6100 (low power)
2020-11-24 21:18:09.693 TOEM[3291:70269] Using device Intel(R) Iris(TM) Graphics 6100 (low power)
Initializing Metal device caps: Intel(R) Iris(TM) Graphics 6100
Begin MonoManager ReloadAssembly
- Completed reload, in  0.173 seconds
UnloadTime: 4.445000 ms
Odin Serializer ArchitectureInfo initialization with defaults (all unaligned read/writes disabled). 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Odin Serializer detected whitelisted runtime platform OSXPlayer and memory read test succeeded; enabling all unaligned memory read/writes. 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/fmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/fmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Uploading Crash Report
DllNotFoundException: fmodstudio
  at (wrapper managed-to-native) FMOD.Memory.FMOD5_Memory_GetStats(int&,int&,bool)
  at FMOD.Memory.GetStats (System.Int32& currentalloced, System.Int32& maxalloced, System.Boolean blocking) [0x00000] in <eea339da6b5e4d4bb255bfef95601890>:0 
  at FMODUnity.RuntimeUtils.EnforceLibraryOrder () [0x00000] in <eea339da6b5e4d4bb255bfef95601890>:0 
  at FMODUnity.StudioListener.OnEnable () [0x00000] in <eea339da6b5e4d4bb255bfef95601890>:0 
 
(Filename: <eea339da6b5e4d4bb255bfef95601890> Line: 0)

Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/fmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/fmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/fmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Uploading Crash Report
DllNotFoundException: fmodstudio
  at (wrapper managed-to-native) FMOD.Memory.FMOD5_Memory_GetStats(int&,int&,bool)
  at FMOD.Memory.GetStats (System.Int32& currentalloced, System.Int32& maxalloced, System.Boolean blocking) [0x00000] in <eea339da6b5e4d4bb255bfef95601890>:0 
  at FMODUnity.RuntimeUtils.EnforceLibraryOrder () [0x00000] in <eea339da6b5e4d4bb255bfef95601890>:0 
  at Logo_SpriteAnimator.Start () [0x00000] in <eea339da6b5e4d4bb255bfef95601890>:0 
 
(Filename: <eea339da6b5e4d4bb255bfef95601890> Line: 0)

Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/fmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/fmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Uploading Crash Report
DllNotFoundException: fmodstudio
  at (wrapper managed-to-native) FMOD.Studio.EventInstance.FMOD_Studio_EventInstance_Start(intptr)
  at FMOD.Studio.EventInstance.start () [0x00000] in <eea339da6b5e4d4bb255bfef95601890>:0 
  at Logo_SpriteAnimator.playSound (System.Int32 index) [0x00003] in <eea339da6b5e4d4bb255bfef95601890>:0 
 
(Filename: <eea339da6b5e4d4bb255bfef95601890> Line: 0)

Setting up 2 worker threads for Enlighten.
  Thread -> id: 70000d1ce000 -> priority: 1 
  Thread -> id: 70000d251000 -> priority: 1 
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/fmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/fmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/fmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Uploading Crash Report
DllNotFoundException: fmodstudio
  at (wrapper managed-to-native) FMOD.Studio.EventInstance.FMOD_Studio_EventInstance_Stop(intptr,FMOD.Studio.STOP_MODE)
  at FMOD.Studio.EventInstance.stop (FMOD.Studio.STOP_MODE mode) [0x00000] in <eea339da6b5e4d4bb255bfef95601890>:0 
  at Logo_SpriteAnimator.OnDestroy () [0x00000] in <eea339da6b5e4d4bb255bfef95601890>:0 
 
(Filename: <eea339da6b5e4d4bb255bfef95601890> Line: 0)

Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/fmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.dylib
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.so
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio.bundle
Fallback handler could not load library /Users/jamalgreen/Library/Application Support/Steam/steamapps/common/TOEM/TOEM.app/Contents/Frameworks/MonoEmbedRuntime/osx/libfmodstudio

What version of Unity are you using and are you building an Xcode project?

We’re using 2019.4.8f1 LTS, we’re simply building directly from the unity editor into a .app and submitting that .app to Steam

When you build, what gets printed to the Unity console?

Do you see something like this:
FMOD: Selected binaries for platform StandaloneOSX:

  • Enabled Assets/Plugins/FMOD/lib/mac/fmodstudio.bundle
  • Disabled Assets/Plugins/FMOD/lib/mac/fmodstudioL.bundle

If you look inside the built .app, is the FMOD library in there?

Yeah we’re getting this from the console

FMOD: Selected binaries for platform StandaloneOSX:
- Enabled Assets/Plugins/FMOD/lib/mac/fmodstudio.bundle
- Disabled Assets/Plugins/FMOD/lib/mac/fmodstudioL.bundle

And we have FMODUnity.dll & FMODUnityResonance.dll inside
.app\Contents\Resources\Data\Managed

Also got fmodstudio.bundle & resonanceaudio.bundle inside
.app\Contents\PlugIns

Not sure what the problem is really :confused:

I could build the splash screen and provide a link here if that would help to investigate the problem

That would be great, it might yield some info about what’s different from your builds compared to ours.

As a sanity test, if you import FMOD clean into an empty Unity project and have it play one of our example events do you have any problems? That was the test I just did here and everything worked smoothly.

Here’s our splash screen, it should loop and play a short jingle every time!

I found an issue where I did get the eventDescription incorrectly in the splash screen so I’ve now resorted to using a StudioEmitter instead that preloads sample date hopefully that could have been it…?

In the meantime, I’ll try the “sanity test” :slight_smile:

– EDIT –
Okay wow this was embarassing, the issue was that we’re trying to play a sound like our intro jingle when the FMOD was not loaded 100%, it could been a frame to early or something that fucked everything up…

By using the StudioEventEmitter script and preloading the sample data everything started working.