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
- Freeze/Crash when entering Play Mode in a specific project
- Low-Resolution Icons in Search Window (Labels, Options, Tags, and Inspector Panel)
- Lack of documentation regarding VFX Ray Tracing support
- Shader properties do not appear on the GameObject when switching ShaderGraphs during runtime in the Player
- Multiple '-' symbols are allowed to appear in a row when inputting '.' into a non-decimal numeric field
Add comment