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
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
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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
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
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.5f1