I get these errors every frame in a build. It’s working fine in editor:
AssertionException: Assertion failure. Value was False
Expected: True
at UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) [0x00043] in <cf2e2e90a80f4d1a92021a850f1df75a>:0
at UnityEngine.Assertions.Assert.IsTrue (System.Boolean condition, System.String message) [0x0000f] in <cf2e2e90a80f4d1a92021a850f1df75a>:0
at UnityEngine.Assertions.Assert.IsTrue (System.Boolean condition) [0x00009] in <cf2e2e90a80f4d1a92021a850f1df75a>:0
at Unity.Assertions.Assert.IsTrue (System.Boolean condition) [0x00008] in H:\MG\Library\PackageCache\com.unity.entities@0.8.0-preview.8\Unity.Entities\Stubs\Unity.Assertions\Assert.cs:15
at Unity.Entities.ManagedComponentStore.RemoveReference (System.Int32 index, System.Int32 numRefs) [0x00032] in H:\MG\Library\PackageCache\com.unity.entities@0.8.0-preview.8\Unity.Entities\ManagedComponentStore.cs:333
at Unity.Entities.ManagedComponentStore.Playback (Unity.Entities.ManagedDeferredCommands& managedDeferredCommands) [0x0009a] in H:\MG\Library\PackageCache\com.unity.entities@0.8.0-preview.8\Unity.Entities\ManagedComponentStore.cs:634
at Unity.Entities.EntityCommandBuffer.ProcessTrackedChanges (EntityDataAccess* mgr, Unity.Collections.LowLevel.Unsafe.UnsafeList* managedReferenceIndexRemovalCount, Unity.Entities.EntityComponentStore+ArchetypeChanges& archetypeChanges) [0x00019] in H:\MG\Library\PackageCache\com.unity.entities@0.8.0-preview.8\Unity.Entities\EntityCommandBuffer.cs:1904
at Unity.Entities.EntityCommandBuffer.PlaybackInternal (EntityDataAccess mgr) [0x00485] in H:\MG\Library\PackageCache\com.unity.entities@0.8.0-preview.8\Unity.Entities\EntityCommandBuffer.cs:1363
at Unity.Entities.EntityCommandBuffer.Playback (Unity.Entities.EntityManager mgr) [0x00014] in H:\MG\Library\PackageCache\com.unity.entities@0.8.0-preview.8\Unity.Entities\EntityCommandBuffer.cs:1189
at Unity.Entities.ComponentSystem.AfterOnUpdate () [0x0000e] in H:\MG\Library\PackageCache\com.unity.entities@0.8.0-preview.8\Unity.Entities\ComponentSystem.cs:79
at Unity.Entities.ComponentSystem.Update () [0x00054] in H:\MG\Library\PackageCache\com.unity.entities@0.8.0-preview.8\Unity.Entities\ComponentSystem.cs:115
at Unity.Entities.ComponentSystemGroup.UpdateAllSystems () [0x0002b] in H:\MG\Library\PackageCache\com.unity.entities@0.8.0-preview.8\Unity.Entities\ComponentSystemGroup.cs:134
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Unity.Debug:LogException(Exception) (at H:\MG\Library\PackageCache\com.unity.entities@0.8.0-preview.8\Unity.Entities\Stubs\Unity\Debug.cs:19)
Unity.Entities.ComponentSystemGroup:UpdateAllSystems() (at H:\MG\Library\PackageCache\com.unity.entities@0.8.0-preview.8\Unity.Entities\ComponentSystemGroup.cs:138)
Unity.Entities.ComponentSystemGroup:OnUpdate() (at H:\MG\Library\PackageCache\com.unity.entities@0.8.0-preview.8\Unity.Entities\ComponentSystemGroup.cs:114)
Unity.Entities.ComponentSystem:Update() (at H:\MG\Library\PackageCache\com.unity.entities@0.8.0-preview.8\Unity.Entities\ComponentSystem.cs:108)
Unity.Entities.DummyDelegateWrapper:TriggerUpdate() (at H:\MG\Library\PackageCache\com.unity.entities@0.8.0-preview.8\Unity.Entities\ScriptBehaviourUpdateOrder.cs:152)
(Filename: <cf2e2e90a80f4d1a92021a850f1df75a> Line: 0)
Anyone else has this or knows how to debug?
Packages Manifest:
{
"dependencies": {
"com.unity.2d.sprite": "1.0.0",
"com.unity.burst": "1.3.0-preview.8",
"com.unity.entities": "0.8.0-preview.8",
"com.unity.ide.visualstudio": "2.0.0",
"com.unity.platforms": "0.2.1-preview.8",
"com.unity.platforms.windows": "0.2.1-preview.8",
"com.unity.render-pipelines.universal": "8.0.1",
"com.unity.rendering.hybrid": "0.3.3-preview.11",
"com.unity.scriptablebuildpipeline": "1.6.5-preview",
"com.unity.test-framework.performance": "2.0.9-preview",
"com.unity.textmeshpro": "3.0.0-preview.1",
"com.unity.timeline": "1.3.1",
"com.unity.ugui": "1.0.0",
"com.unity.visualeffectgraph": "8.0.1",
"com.unity.xr.legacyinputhelpers": "2.0.2",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.assetbundle": "1.0.0",
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.cloth": "1.0.0",
"com.unity.modules.director": "1.0.0",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.particlesystem": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.physics2d": "1.0.0",
"com.unity.modules.screencapture": "1.0.0",
"com.unity.modules.terrain": "1.0.0",
"com.unity.modules.terrainphysics": "1.0.0",
"com.unity.modules.tilemap": "1.0.0",
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.uielements": "1.0.0",
"com.unity.modules.umbra": "1.0.0",
"com.unity.modules.unityanalytics": "1.0.0",
"com.unity.modules.unitywebrequest": "1.0.0",
"com.unity.modules.unitywebrequestassetbundle": "1.0.0",
"com.unity.modules.unitywebrequestaudio": "1.0.0",
"com.unity.modules.unitywebrequesttexture": "1.0.0",
"com.unity.modules.unitywebrequestwww": "1.0.0",
"com.unity.modules.vehicles": "1.0.0",
"com.unity.modules.video": "1.0.0",
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.wind": "1.0.0",
"com.unity.modules.xr": "1.0.0"
}
}