Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Bug Exception throws every frame on iOS after updating to Entities 0.13

Discussion in 'Data Oriented Technology Stack' started by Srokaaa, Jul 27, 2020.

  1. Srokaaa

    Srokaaa

    Joined:
    Sep 18, 2018
    Posts:
    127
    Hey, after update to Entities 0.13 my iOS builds started throwing exception, with a stacktrace I pasted below,never frame making no systems calling their onUpdate() methods. Strangely enough this doesn't happen when I run in the Editor

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object.
    2.   at Unity.Entities.ChunkDataUtility.AddEmptyChunk (Unity.Entities.Archetype* archetype, Unity.Entities.Chunk* chunk, Unity.Entities.SharedComponentValues sharedComponentValues) [0x00000] in <00000000000000000000000000000000>:0
    3.   at Unity.Entities.EntityComponentStore.<CreateArchetype>g__MemoryOrderCompare|109_0 (System.Int32 lhs, System.Int32 rhs, Unity.Entities.EntityComponentStore+<>c__DisplayClass109_0& ) [0x00000] in <00000000000000000000000000000000>:0
    4.   at Unity.Entities.EntityComponentStore.BuildSharedComponentIndicesWithRemovedComponents (Unity.Entities.Archetype* srcArchetype, Unity.Entities.Archetype* dstArchetype, Unity.Entities.SharedComponentValues srcSharedComponentValues, System.Int32* dstSharedComponentValues) [0x00000] in <00000000000000000000000000000000>:0
    5.   at Unity.Entities.EntityDataAccess.Initialize (Unity.Entities.EntityDataAccess* self, Unity.Entities.World world) [0x00000] in <00000000000000000000000000000000>:0
    6.   at Unity.Entities.Conversion.GameObjectConversionMappingSystem.CreateGameObjectEntity (Unity.Entities.EntityManager entityManager, UnityEngine.GameObject gameObject, System.Collections.Generic.List`1[T] componentsCache) [0x00000] in <00000000000000000000000000000000>:0
    7.   at Unity.Entities.GameObjectEntity.AddToEntityManager (Unity.Entities.EntityManager entityManager, UnityEngine.GameObject gameObject) [0x00000] in <00000000000000000000000000000000>:0
    8.   at Unity.Entities.ConvertToEntitySystem.AddRecurse (Unity.Entities.EntityManager manager, UnityEngine.Transform transform, System.Collections.Generic.HashSet`1[T] toBeDetached, System.Collections.Generic.List`1[T] toBeInjected) [0x00000] in <00000000000000000000000000000000>:0
    9.   at Unity.Entities.ConvertToEntitySystem.Convert () [0x00000] in <00000000000000000000000000000000>:0
    10.   at Unity.Entities.ComponentSystem.Update () [0x00000] in <00000000000000000000000000000000>:0
    11.   at Unity.Entities.ComponentSystemGroup.UpdateAllSystems () [0x00000] in <00000000000000000000000000000000>:0
    12.   at Unity.Entities.ComponentSystem.Update () [0x00000] in <00000000000000000000000000000000>:0
    13.   at UnityEngine.LowLevel.PlayerLoopSystem+UpdateFunction.Invoke () [0x00000] in <00000000000000000000000000000000>:0
    14. Unity.Entities.ComponentSystemGroup:UpdateAllSystems()
    15. Unity.Entities.ComponentSystem:Update()
    16. UnityEngine.LowLevel.UpdateFunction:Invoke()
     
  2. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    558
    Similar here, Assertion failure on EntityComponentStore.MemoryOrderCompare. Entities 0.13.0 is totally broken on iOS.

     
    Last edited: Aug 4, 2020
  3. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    591
unityunity