Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2019.4.X, 2020.1.X

Votes

0

Found in

2018.3

2018.3.14f1

2019.1

2019.2

2019.3

Issue ID

1152124

Regression

No

Prefabs are losing data/references to other components inside the prefab after Script Recompile/Play mode

Scene Management

-

Reproduction steps:

1. Open "1152124" project
2. Select "AiGraph" in the Project window
3. Open Prefab
4. Open Graph
5. Create 3 Utilities by Right Clicking -> Create First Utility
6. For Each utility create some tasks by clicking the plus (for difference add 1,2,3 tasks)
7. Enter Play mode (1-3 times)
8. Open Prefab and Graph again
9. Notice that some of the added tasks have disappeared

Expected Result: Prefabs do not lose data/references to other components
Actual Result: Prefabs are losing data/references to other components

Reproduced with: 2019.3.0a4, 2019.2.0b4. 2019.1.4f1, 2018.4.1f1, 2018.3.14f1

  1. Resolution Note (fix version 2020.2):

    Fixed: References to other serialized objects appeared as null from within OnBeforeSerialize() during domain reload
    Fixed with 2020.2.0a3

  2. Resolution Note (fix version 2020.1):

    Fixed in: 2020.1.5f1

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.