#AssertNoQueuedManagedDeferredCommands

1 messages · Page 1 of 1 (latest)

earnest fossil
#

I've had a strange error start popping up today. Not seen this before, and there haven't been any major changes to the game in the last few days. Either I've done something subtly wrong or something has built up to the point it all breaks.

Unity.Entities.EntityComponentStore.AssertNoQueuedManagedDeferredCommands () (at ./Library/PackageCache/com.unity.entities@e581b903be8e/Unity.Entities/EntityComponentStore.cs:3015)

Can't find anything useful in the docs, and the comment in the code suggests this may be some internal entity system bug?

Using Unity 6.0.59f1 with Entities 1.3.14

thorny musk
#

Clear the entities cache

#

In preferences

proud mesa
#

Are you stuck on entities 1.3.x? (any reason you aren't updating to 1.4.x) always worth testing if updating fixes it

earnest fossil
thorny musk
earnest fossil
earnest fossil
#

OK, after several obstacles I am now on Unity 6.0.62f1 and Entities 1.4.0-pre.3, due to this bug in any more recent version:

https://issuetracker.unity3d.com/issues/editor-is-not-able-to-load-when-using-nuget-dll-plugins-and-scripting-define-symbol-disable-typemanager-ilpp

Still the same issue.

earnest fossil
#

In case anyone needs this info later - the bug was caused by temporary memory allocations inside a loop while iterating over entities.

formal oasis
earnest fossil
#

I'm afraid this is a commercial project so I can't send you the actual source. Would pseudocode be helpful?

thorny musk
#

Oh, there are managed components