Search Issue Tracker
Fixed in 0.14.0-preview.18
Votes
0
Found in [Package]
0.13.0-preview.24
Issue ID
1267160
Regression
No
[ECS] SystemState components may not be removed via SetArchetype error when not removing SystemState
Reproduction steps:
1. Open attached project "SetArchetype.zip" and scene "SampleScene"
2. Enter Play Mode
3. In Game View, click the "Hit this" button
4. Observe Console window
Expected result: No error message
Actual result: "ArgumentException: SystemState components may not be removed via SetArchetype" error message
Reproducible with: 2019.4.7f1, 2020.1.1f1, 2020.2.0a20 (ECS 0.13.0-preview.24)
Note:
Issue reproduces with Burst enabled
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 0.14.0-preview.18):
There was some incorrect iteration of the archetypes when a system state component was involved. Depending on the ordering of these archetypes it would incorrectly fail to find the system state component in the user's new archetype. This has now been resolved