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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
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