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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
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.