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
- ResolveUsePasses now extracts passes from all subshaders including fallbacks, in contrast to documented behaviour
- [UIBuilder] Changes aren't detected on types implementing IList
- [HDRP] Text is rendered with artefacts when using STP and resolution scale is set a float value
- [Settings Search] Search results not always matching search term correctly
- Crash on memcpy when opening a project that loads TSS files
Add comment