# ERR\_MEMORY : Not enough memory or resources

**URL:** <https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503>\
**Category:** Unity\
**Created:** [February 28, 2020, 11:21am UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503 "2020-02-28T11:21:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![belva](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@belva](https://qa.fmod.com/u/belva)\
**Post date:** [February 28, 2020, 11:21am UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/1 "2020-02-28T11:21:41Z")

</div>

Hello, I 'am getting this error and from what I could understand it’s because I surpassed the limit of 8 systems, my question is:

First, what did I do to surpass the system limit, why am I creating more than 8 system since I ’ am not touching anything related to that in my code?

Second, is there any way to delete all the system created so that I can have more room for a new system.

Full error:  
SystemNotInitializedException: [FMOD] Initialization failed : FMOD.Studio.System.create : ERR\_MEMORY : Not enough memory or resources.

---

<div class="post-metadata">

**Author:** ![NoDzofSound](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/nodzofsound/32/968_2.png) [@NoDzofSound](https://qa.fmod.com/u/NoDzofSound)\
**Post date:** [March 1, 2020, 9:57am UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/2 "2020-03-01T09:57:52Z")

</div>

Hi belva,

yesterday I posted a similar issue. But it is now that I realize, that we might have the same issue. Unfortunately I do not have a solution, but could you compare, if my detailed description matches your problem? [Runtime Manager continues after ending Unity Playmode?](https://qa.fmod.com/t/runtime-manager-continues-after-ending-unity-playmode/15509)

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [March 5, 2020, 2:27am UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/3 "2020-03-05T02:27:54Z")

</div>

What versions of FMOD and Unity are you using?

---

<div class="post-metadata">

**Author:** ![SwordFab](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@SwordFab](https://qa.fmod.com/u/SwordFab)\
**Post date:** [March 19, 2020, 4:49pm UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/4 "2020-03-19T16:49:30Z")

</div>

I am Belva, this is another account.  
The error is but I got it from another workflow, it happens when I Play and Stop the game lot of times,I can’t tell you how much but after a while of play and stop, I get this error

---

<div class="post-metadata">

**Author:** ![SwordFab](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@SwordFab](https://qa.fmod.com/u/SwordFab)\
**Post date:** [March 19, 2020, 4:53pm UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/5 "2020-03-19T16:53:01Z")

</div>

I am using unity 2019.3 but have this issue since I started using this plugin with Unity 2019.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [March 20, 2020, 3:49am UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/6 "2020-03-20T03:49:10Z")

</div>

What version of the FMOD Unity Integration are you using?

---

<div class="post-metadata">

**Author:** ![SwordFab](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@SwordFab](https://qa.fmod.com/u/SwordFab)\
**Post date:** [March 22, 2020, 8:45am UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/7 "2020-03-22T08:45:34Z")

</div>

I just merged to the latest version of the github repo (master) and this issue seems to be fixed so far…

---

<div class="post-metadata">

**Author:** ![slumberface](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@slumberface](https://qa.fmod.com/u/slumberface)\
**Post date:** [April 24, 2020, 6:14am UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/8 "2020-04-24T06:14:39Z")

</div>

I have been experiencing this error since at least Unity 2019.2.5 using FMOD 2.00.04 and still persists after updating to Unity 2019.3.10 and FMOD 2.01

Happens after entering and exiting playmode multiple times (ranging from 10 to maybe 50?).

As with others, only solution seems to be editor restart.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [May 1, 2020, 1:54am UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/9 "2020-05-01T01:54:16Z")

</div>

I’m not having any luck reproducing the issue here.

Are you able to provide any editor log files?

---

<div class="post-metadata">

**Author:** ![slumberface](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@slumberface](https://qa.fmod.com/u/slumberface)\
**Post date:** [May 3, 2020, 3:03am UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/10 "2020-05-03T03:03:38Z")

</div>

I just reinstalled FMOD to get the error after removing it entirely, and after having unity open for probably 24 hours it has appeared again without any requests being made to FMOD, nor is there an FMOD project path even. I seem to be unable to attach the .log file to this message. But here’s what I believe to be the relevant area:

Refreshing native plugins compatible for Editor in 1.63 ms, found 3 plugins.  
SystemNotInitializedException: [FMOD] Initialization failed : FMOD.Studio.System.create : ERR\_MEMORY : Not enough memory or resources.  
at FMODUnity.RuntimeManager.get\_Instance () [0x0014e] in F:\Project\Quilt World Abyrinth Folder\Quilt World Abyrinth\Assets\Plugins\FMOD\src\Runtime\RuntimeManager.cs:118  
at FMODUnity.RuntimeManager.get\_StudioSystem () [0x00001] in F:\Project\Quilt World Abyrinth Folder\Quilt World Abyrinth\Assets\Plugins\FMOD\src\Runtime\RuntimeManager.cs:132  
at FMODUnity.RuntimeManager.AddListener (FMODUnity.StudioListener listener) [0x000ef] in F:\Project\Quilt World Abyrinth Folder\Quilt World Abyrinth\Assets\Plugins\FMOD\src\Runtime\RuntimeManager.cs:344  
at FMODUnity.StudioListener.OnEnable () [0x00029] in F:\Project\Quilt World Abyrinth Folder\Quilt World Abyrinth\Assets\Plugins\FMOD\src\Runtime\StudioListener.cs:18

(Filename: Assets/Plugins/FMOD/src/Runtime/RuntimeManager.cs Line: 118)

Loaded scene ‘Temp/\_\_Backupscenes/0.backup’  
Deserialize: 287.724 ms  
Integration: 706.412 ms  
Integration of assets: 0.161 ms  
Thread Wait Time: 10.446 ms  
Total Operation Time: 1004.743 ms  
FMOD Studio: The FMOD Studio project path must be set to an .fspro file.  
UnityEngine.DebugLogHandler:Internal\_Log(LogType, LogOption, String, Object)  
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])  
UnityEngine.Logger:Log(LogType, Object)  
UnityEngine.Debug:LogError(Object)  
FMODUnity.EventManager:Update() (at Assets\Plugins\FMOD\src\Editor\EventManager.cs:675)  
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)  
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)  
System.Reflection.MethodBase:Invoke(Object, Object[])  
System.Delegate:DynamicInvokeImpl(Object[])  
System.MulticastDelegate:DynamicInvokeImpl(Object[])  
System.Delegate:DynamicInvoke(Object[])  
UnityEditor.EditorApplication:Internal\_CallUpdateFunctions()

(Filename: Assets/Plugins/FMOD/src/Editor/EventManager.cs Line: 675)

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/9/9da3d77b096d77903b773d9305f9ab7dde5896ba.png)

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [May 3, 2020, 11:37pm UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/11 "2020-05-03T23:37:10Z")

</div>

The main thing I would like to look for is any FMOD logging before the first occurrence of this message. That message tells us what is happening but I am trying to figure out why it is happening.

You can upload files [here](https://fmod.com/profile#uploads).

---

<div class="post-metadata">

**Author:** ![slumberface](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@slumberface](https://qa.fmod.com/u/slumberface)\
**Post date:** [May 4, 2020, 5:05pm UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/12 "2020-05-04T17:05:51Z")

</div>

Cameron that took me to my profile page - I didn’t see an obvious way to get the log to you besides emailing it to support @ fmod. Email has subject line “EDITOR LOG FILE - For Cameron-Fmod”

Please let me know if you have any trouble receiving it.

---

<div class="post-metadata">

**Author:** ![Paalo](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/paalo/32/616_2.png) [@Paalo](https://qa.fmod.com/u/Paalo)\
**Post date:** [May 24, 2020, 3:30am UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/13 "2020-05-24T03:30:45Z")

</div>

Any updates on this? Cause I’ve also been experiencing similar problems from time to time, with the exact same error and after entering and exiting PlayMode several times.

It’s been like that on several versions of both Unity and Fmod, but the latest project had these specs:

Unity: 2018.4.11f1  
Fmod: 1.10.15

---

<div class="post-metadata">

**Author:** ![slumberface](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@slumberface](https://qa.fmod.com/u/slumberface)\
**Post date:** [May 25, 2020, 4:27pm UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/14 "2020-05-25T16:27:25Z")

</div>

Paalo I was in the middle of trouble shooting this with Cameron but have had a high workload that pulled me away from it.

The last thing we got to is that having Live Update enabled might be the root. If you could try disabling that and reporting back on whether or not you’re still getting the error that would be hugely appreciated.  
You can find the setting in the FMOD Unity Settings under “Play in Editor Settings”/

---

<div class="post-metadata">

**Author:** ![andrewcarvalho](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/andrewcarvalho/32/1355_2.png) [@andrewcarvalho](https://qa.fmod.com/u/andrewcarvalho)\
**Post date:** [July 20, 2020, 3:28pm UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/15 "2020-07-20T15:28:48Z")

</div>

Has there been any movement on this? I am also getting this after starting and stopping play mode several times.

Potentially related: I use an external dac/amp and when the game is _not_ running and I disconnect it (it’s a portable device I use for different machines) I can see Fmod start throwing constant errors in the console about the audio device being disconnected.

Going into play mode stops the error from being thrown.

This makes me think the Fmod runtime is spinning up and running new instances when changing between play and edit mode and that they aren’t being cleaned up correctly. Eventually you have enough instances running to throw the ERR\_MEMORY error.

I’m not using live update and our pipeline for all non-audio developers uses built banks that are in the project folder.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [July 28, 2020, 4:42am UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/16 "2020-07-28T04:42:08Z")

</div>

> [@andrewcarvalho](#):
>
> This makes me think the Fmod runtime is spinning up and running new instances when changing between play and edit mode

The integration does create a new system for Play Mode which should be destroyed when returning to Edit Mode. If the system is not destroyed properly then, as you said, eventually you have enough instances running to throw the ERR\_MEMORY error.

Any logs from Unity and any details around the time of this occurring would be very helpful.

---

<div class="post-metadata">

**Author:** ![DREBOTgs](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@DREBOTgs](https://qa.fmod.com/u/DREBOTgs)\
**Post date:** [August 3, 2020, 11:59am UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/17 "2020-08-03T11:59:19Z")

</div>

I have this error. You fix it in new versions?

---

<div class="post-metadata">

**Author:** ![andrewcarvalho](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/andrewcarvalho/32/1355_2.png) [@andrewcarvalho](https://qa.fmod.com/u/andrewcarvalho)\
**Post date:** [August 3, 2020, 10:38pm UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/18 "2020-08-03T22:38:21Z")

</div>

Hi @cameron-fmod,

I have actually removed FMOD from the project for the time being as I have other higher priority tasks to work on. I tried to recreate the bug in a new project with no luck, nor did rolling back the project make the bug reappear. This could be for man reasons that I can’t undo, like the fact we have updated our engine from 2019.4 to 2020.1 for platform support, moving to VS2019 from VS2017, and a complete reinstall of windows onto a new hard drive (not related to any bugs, just needed more space).

When I finish up with our current sprint, I’ll reintroduce the fmod package and, if the bug resurfaces, grab the editor logs. I imagine my issue (not sure if others will be the same) could be caused by a lot of factors of my setup such as using FMOD in a singleton pattern, leaving my computer on for long periods of time (days or weeks), constantly swapping audio output devices, rapid play/edit mode swapping, running with the Mute Audio button toggled, etc.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [August 5, 2020, 5:09am UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/19 "2020-08-05T05:09:35Z")

</div>

It sound like there could have been a number of factors that contributed towards this, hopefully it doesn’t come back but we would appreciate any information you can provide if it does.

@DREBOTgs are you able to share any output logs from Unity that could help with identifying the issue?  
Also what versions of FMOD and Unity are you using?

---

<div class="post-metadata">

**Author:** ![DREBOTgs](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@DREBOTgs](https://qa.fmod.com/u/DREBOTgs)\
**Post date:** [August 5, 2020, 12:27pm UTC](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503/20 "2020-08-05T12:27:49Z")

</div>

@cameron-fmod If the error occurs again, I will post it.  
Unity 2020.1.0f1  
FMOD 2.00.09  
I can update to the latest FMOD version if this error fixed. But I would not like to do this if the error is not fixed.

[Next page](https://qa.fmod.com/t/err-memory-not-enough-memory-or-resources/15503.md?page=2)
