CheckDisalowAllocation Fatal Error

Hello,

When attempting to stop a scene, this error pops up. “Quit” closes Unity.

Thank you for your time

1890103--121627--memory_error.png

Please file a bug report. Thanks!

I’m getting this all the time in Unity 4.6. I’ve filed bug reports starting in October, with no response.

Essentially, in my case, I have a singleton marked as do-not-destroy. In 4.5. and earlier, it ignored this, and when you moved the editor to the background it would kill your singleton anyway.

In 4.6 this is made worse, in that when it kills the singleton, now Unity Editor crashes.

Also, on a side note, shouldn’t it be “CheckDisallowAllocation”, Disallow is the inverse state of Allow.