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

Package: Entity Component System (ECS)

-

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)

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.