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
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- 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
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.