Search Issue Tracker
By Design
Votes
0
Found in [Package]
Issue ID
1264526
Regression
No
DOTS 'ArgumentException: The entity does not exist' errors thrown when deleting an entity with LOD Group component
To reproduce:
1. Open attached project ("case_1264526-Sample.zip")
2. Enter Play mode and press 'Delete parent with LOD Group' button
3. Observe the Console window
Expected result: No errors thrown
Actual result: Multiple 'ArgumentException: The entity does not exist' errors thrown
Reproducible in: 2019.4.8f1, 2020.1.2f1, 2020.2.0a20 (0.4.2-preview-16, 0.7.0-preview.24)
Could not test in: 2018.4.26f1 (0.0.1-preview.4) (Due to errors)
Notes:
1. The issue is reproducible both with and without Burst.
2. Full error message:
ArgumentException: The entity does not exist
Unity.Entities.EntityComponentStore.AssertEntityHasComponent (Unity.Entities.Entity entity, Unity.Entities.ComponentType componentType) (at Library/PackageCache/com.unity.entities@0.13.0-preview.24/Unity.Entities/EntityComponentStoreDebug.cs:280)
Unity.Entities.EntityComponentStore.AssertEntityHasComponent (Unity.Entities.Entity entity, System.Int32 componentType) (at Library/PackageCache/com.unity.entities@0.13.0-preview.24/Unity.Entities/EntityComponentStoreDebug.cs:286)
Unity.Entities.ComponentDataFromEntity`1[T].get_Item (Unity.Entities.Entity entity) (at Library/PackageCache/com.unity.entities@0.13.0-preview.24/Unity.Entities/Iterators/ComponentDataFromEntity.cs:169)
Unity.Rendering.LodRequirementsUpdateSystem+UpdateLodRequirementsJob.Execute (Unity.Entities.ArchetypeChunk chunk, System.Int32 chunkIndex, System.Int32 firstEntityIndex) (at Library/PackageCache/com.unity.rendering.hybrid@0.7.0-preview.24/Unity.Rendering.Hybrid/LodRequirementsUpdateSystem.cs:148)
Unity.Entities.JobChunkExtensions+JobChunkProducer`1[T].ExecuteInternal (Unity.Entities.JobChunkExtensions+JobChunkWrapper`1[T]& jobWrapper, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) (at Library/PackageCache/com.unity.entities@0.13.0-preview.24/Unity.Entities/IJobChunk.cs:298)
Unity.Entities.JobChunkExtensions+JobChunkProducer`1[T].Execute (Unity.Entities.JobChunkExtensions+JobChunkWrapper`1[T]& jobWrapper, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) (at Library/PackageCache/com.unity.entities@0.13.0-preview.24/Unity.Entities/IJobChunk.cs:272)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Error is thrown when clicking on warning in the console
- Long IL2CPP build time when project has a .ufbx library wrapper
- Cursor doesn't change to the resizing when using the Rect Tool and the Sprite is too close to the bottom of the Scene View
- InvalidOperationException exception is thrown when Editor Default Text Rendering Mode is set to "Bitmap" and Editor Font is set to "System Font" and an array is expanded in the Inspector Window
- "Sample Gradient" node can be connected to the "Sub Mesh Mask" input and makes the VFX Graph uncompilable
Resolution Note:
By design (DOTS). If you are deleting entities that are linked to other entities (transform parents, LOD parents, etc), you are responsible of deleting all of them or removing the stale components.