Search Issue Tracker
Won't Fix
Votes
0
Found in
5.5.0p3
Issue ID
873783
Regression
No
GameObject isn't set as public variable after undo operation
"Test1" GameObject has script attached which is checking if public variable (GameObject Test2) is set. If is set console displays exist if isn't set null. Deleting Test2 and undoing will return public variable as null.
Steps to reproduce:
1. Download UndoTest.zip and open "new" scene
2. Delete "Test2" game object. Notice console shows null
3. Press ctrl+z to undo. Notice console still shows null
Expected results: After undo console should display exist.
Actual results: After undoing console displays null.
Note: Scripts public field shows correct object attached.
Reproduced with: 5.6.0b5, 5.5.0p4, 5.5.0f3, 5.4.4f1, 5.3.7p3.
Comments (1)
-
aka3eka
May 24, 2020 07:25
It looks the problem still persists in Unity 2019.3.13f1.
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
- Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
- Crash on GameObject::RemoveComponentFromGameObjectInternal when reparenting Text GameObjects
- [IL2CPP-GarbageCollector] Changing GCMode might permanently disable GC in a multithreaded context
Resolution Note:
This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this fix for the time being. We understand that this will cause problems for some users, and so may address in a future version.