Search Issue Tracker
By Design
Votes
0
Found in [Package]
0.1.0
Issue ID
1181138
Regression
No
Every second Entity index is skipped when CreateEntity and SetSharedComponentData(Entity, RenderMesh) are called in OnUpdate
How to reproduce:
1. Open attached project ("1181138.zip") using the EnvIronman VM (more information in Edit).
2. Open the Entity Debugger window (Window -> Analysis -> Entity Debugger)
3. Enter Play mode
4. Observe Entity indexes assigned to new Entities
Expected result: No Entity indexes are skipped
Actual result: Every second Entity index is skipped
Reproducible with Unity versions: 2019.1.14f1, 2019.2.5f1, 2019.3.0b3, 2020.1.0a3
Reproducible with package versions:
Entities - 0.1.0, 0.1.1
Hybrid Renderer - 0.0.1-preview12, 0.0.1-preview13, 0.1.0, 0.1.1
Notes:
Declaring the RenderMesh and setting its variable values in the Start method works as a workaround.
The issue persists if RenderMesh's variable values are set in the declaration of RenderMesh variable.
The issue does not reproduce if RenderMesh's variables are not set.
The issue does not reproduce if LocalToWorld is not included in the Archetype.
Could not test on earlier package versions because OnCreate was not introduced (other Console errors are thrown on some Unity versions).
The issue is not reproducible prior to Unity 2019.1 as affected package versions are not available.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UnityLinker causes crash when outputting snapshot data for very large projects
- Camera Preview does not detect multiple cameras with same GameObject name
- Crash on TypeTreeIterator::Children() when renaming a corrupted asset while Asset Serialization is set to Mixed
- Cameras (Camera.targetDisplay) render only to Display 0 in the Player when Multi-Display setup is used and DX12 API is set
- [Vulkan] _CameraOpaqueTexture produces a feedback effect on Android Adreno devices when using Vulkan
Add comment