Not signed in
Copyright © 2026 Unity Technologies
Steps to reproduce:
1. Open the attached Unity project from Google Drive link “EntitiesErrors.zip”
2. Open New Sub Scene (Assets > Scenes > SampleScene > New Sub Scene.unity)
3. Open SampleScene (Assets > Scenes > SampleScene.unity)
4. Observe the Console window
Actual results: “InvalidOperationException” and “ArgumentException” errors thrown in the Console window
Expected results: No errors thrown in the Console window
Reproducible with versions: 6000.5.3f1, 6000.6.0b3, 6000.7.0a2
Can’t test with versions: 6000.4.12f1 and lower (project breaks)
Tested on (OS): macOS Tahoe 26.5.1 (M1)
InvalidOperationException: The previously scheduled job AsyncLoadSceneOperation:AsyncLoadSceneJob writes to the Unity.Entities.EntityManager AsyncLoadSceneJob.Transaction.m_Manager. You must call JobHandle.Complete() on the job AsyncLoadSceneOperation:AsyncLoadSceneJob, before you can write to the Unity.Entities.EntityManager safely.
Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckWriteAndThrowNoEarlyOut (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle) <0x3a612bea8 + 0x0003f> in <eaf6a7c0e75f455b85fa84206f8b735b>:0
Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckWriteAndThrow (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Jobs/AtomicSafetyHandle.bindings.cs:199)
ArgumentException: DeserializeWorld can only be used on completely empty World. Please create a new empty World and add Systems after loading is complete instead. Unity.Entities.Serialization.SerializeUtility.EndDeserializeWorld (Unity.Entities.ExclusiveEntityTransaction manager, Unity.Entities.Serialization.DotsSerializationReader dotsReader, Unity.Entities.Serialization.SerializeUtility+WorldDeserializationStatus& status, Unity.Entities.Serialization.SerializeUtility+WorldDeserializationResult& deserializationResult, System.Int32 externalEntitiesRefRange, System.Int32 sceneSectionIndex, Unity.Collections.NativeArray`1[T] unityObjects) (at ./Library/PackageCache/com.unity.entities@7c40ffdd1a69/Unity.Entities/Serialization/SerializeUtility.cs:1046) Unity.Scenes.AsyncLoadSceneOperation+AsyncLoadSceneJob.Execute () (at ./Library/PackageCache/com.unity.entities@7c40ffdd1a69/Unity.Scenes/AsyncLoadSceneOperation.cs:148)
InvalidOperationException: EntityManager cannot be used from this context because it is not part of the exclusive transaction that is currently active.
Unity.Entities.EntityManager.AssertIsExclusiveTransaction () (at ./Library/PackageCache/com.unity.entities@7c40ffdd1a69/Unity.Entities/EntityManager.cs:80)
Unity.Entities.EntityManager.GetCheckedEntityDataAccess () (at ./Library/PackageCache/com.unity.entities@7c40ffdd1a69/Unity.Entities/EntityManager.cs:90)
Unity.Entities.EntityManager.get_UniversalQueryWithSystems () (at ./Library/PackageCache/com.unity.entities@7c40ffdd1a69/Unity.Entities/EntityManager.cs:251)
Unity.Entities.Editor.UpdateHierarchySystem.OnUpdate () (at ./Library/PackageCache/com.unity.entities@7c40ffdd1a69/Unity.Entities.Editor/Hierarchy/UpdateHierarchySystem.cs:225)
Sign in to see your voted issues