Hello, I have a crash while using DOTS that I can't really figure out by myself. A little help would be really appreciated.
at Unity.Entities.ArchetypeChunk.get_Count () [0x00000] in C:\Users\gross\Documents\Code\lospinguinos_unity\deps\com.unity.entities\Unity.Entities\Iterators\ArchetypeChunkArray.cs:29
at Unity.Entities.EntityQueryEnumerator.MoveNextEntityRange (System.Boolean& movedToNewChunk, Unity.Entities.ArchetypeChunk& chunk, System.Int32& entityStartIndex, System.Int32& entityEndIndex) [0x00095] in C:\Users\gross\Documents\Code\lospinguinos_unity\deps\com.unity.entities\Unity.Entities\Iterators\EntityQueryEnumerator.cs:175 ```
Really rarely I get this exception when trying to iterate over a query, in a bursted system. The query is nothing to fancy :
``` foreach (var (grabbable, _, physicsCollider, e) in SystemAPI.Query<RefRW<Grabbable>, RefRW<PhysicsVelocity>, RefRW<PhysicsCollider>>().WithEntityAccess())
{```
or
``` foreach (var (grabbable, localTransform, physicCollider, e) in SystemAPI.Query<RefRW<Grabbable>, RefRW<LocalTransform>, RefRW<PhysicsCollider>>()
.WithNone<PhysicsVelocity>()
.WithEntityAccess())```
I don't really know which one caused the crash.
It looks like the chunk returned by the iterator is null, but I don't see why.
Does somebody experienced it, or have any clue on what chould have happenned ?