Search Issue Tracker
Fixed in 4.5.X
Votes
2
Found in
4.3.2f1
Issue ID
590366
Regression
No
Undo.DestroyObjectImmediate causes data to disappear after relaunch
To reproduce:
1. Open attached project
2. Open scene "Scene"
3. In project view select "BadPrefab"
4. Attach a "Deletable" script to the prefab
5. In Hierarchy, select UnityBug, it should have "My Object" set to the prefab
6. Click on the "Delete" box - it deletes the script on the prefab and toggles itself off
7. Undo the deletion - the script is back
8. Reopen unity - the script is gone and "Component MonoBehaviour could not be loaded when loading game object. Cleaning up!" is printed in console
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Incorrect ScrollToItem behavior when called on a deattached ListView
- Zooming in/out in Scene View window on the display the zoom takes place in does not work
- Changing Game View resolution when there are 2 Game View Windows on 2 different displays makes the view stretched
- Maximising Game view window on one display makes black bars appear on another display
- Creating a 3D Object when using 2 monitors and 2 Game View Windows on different monitors the created 3D Object only appears on one of them
Add comment