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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Add comment