ERR_MEMORY : Not enough memory or resources

@cameron-fmod log
SystemNotInitializedException: [FMOD] Initialization failed : FMOD.Studio.System.create : ERR_MEMORY : Not enough memory or resources.
FMODUnity.RuntimeManager.get_Instance () (at Assets/Plugins/FMOD/src/Runtime/RuntimeManager.cs:114)
FMODUnity.RuntimeManager.PathToGUID (System.String path) (at Assets/Plugins/FMOD/src/Runtime/RuntimeManager.cs:905)
FMODUnity.RuntimeManager.CreateInstance (System.String path) (at Assets/Plugins/FMOD/src/Runtime/RuntimeManager.cs:918)
Drebot.LayerLocation.PlayStartMusic () (at Assets/[1]Source/Layers/LayerLocation.cs:69)

LayerLocation.cs:69 is
eventInstance = FMODUnity.RuntimeManager.CreateInstance(musicEvent);

and

SystemNotInitializedException: [FMOD] Initialization failed : FMOD.Studio.System.create : ERR_MEMORY : Not enough memory or resources.
FMODUnity.RuntimeManager.get_Instance () (at Assets/Plugins/FMOD/src/Runtime/RuntimeManager.cs:122)
FMODUnity.RuntimeManager.get_StudioSystem () (at Assets/Plugins/FMOD/src/Runtime/RuntimeManager.cs:128)
FMODUnity.RuntimeManager.AddListener (FMODUnity.StudioListener listener) (at Assets/Plugins/FMOD/src/Runtime/RuntimeManager.cs:335)
FMODUnity.StudioListener.OnEnable () (at Assets/Plugins/FMOD/src/Runtime/StudioListener.cs:18)

@DREBOTgs Do you have your Editor log? I feel like that may be more useful in tracking down the issue since the actual leak would happen well before the error occurs.

You can find it at %LOCALAPPDATA%\Unity\Editor\Editor.log on Windows.

1 Like