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
- Unable to dock tabs on panels when non-standard pointers are used (touch-screen, tablet and pen)
- Editor hangs when rendering TMP Text Component with Left and Right Margins set in the Extra Settings
- Occlusion's fields can be set to negative numbers
- Issues with tutorial content in Universal 3D sample
- Occlusion's "Set default parameters" button is active when the default parameters are set
Add comment