Search Issue Tracker
By Design
Votes
0
Found in [Package]
0.16.0-preview.21
Issue ID
1288746
Regression
No
ISystemStateComponentData not present after instantiating from a prefab entity
Reproduction steps:
1. Open attached project "SystemStateComponentRepro.zip" and scene "SampleScene"
2. Enter Play Mode
3. In Entity Debugger window, select "ExamplePrefabInstance" entity
4. In Inspector window, observe the components
Expected result: ExampleSystemStateComponent is present
Actual result: ExampleSystemStateComponent is not present
Reproducible with: 0.11.2-preview.1 (2019.4.14f1), 0.16.0-preview.21 (2020.1.12f1, 2020.2.0b11, 2021.1.0a5)
Could not test with: 2018.4.28f1 (console errors break project)
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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- Dragging selector from selector row background shows preview but does not apply class in UI Builder
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
Resolution Note:
This is by design. System state components can only be added and removed by systems they are not serialized in subscenes nor
copied when instantiating prefabs.