Search Issue Tracker
Won't Fix
Votes
2
Found in
2021.3.47f1
2022.3.56f1
6000.0.34f1
6000.1.0b2
6000.2.0a1
6000.3.0a1
Issue ID
UUM-92559
Regression
No
Reference to a deleted GameObject becomes "None" when the GameObject is restored with undo after entering and exiting Play Mode
Reproduction steps:
1. Open the attached “repro_IN-92211” project
2. Open the “Assets/Issue Samples/Sample 1/Scenes/Sample 1.unity“ Scene
3. In the Hierarchy, delete the “room (3)“ GameObject (child of the “Rooms“ GameObject)
4. Enter the Play Mode
5. Exit the Play Mode
6. Undo until the “room (3)“ GameObject is restored in the Hierarchy
7. Select the “TestingClass1“ GameObject
8. In the Inspector, expand the “My List“ dropdown
9. Observe the “Element 3“ parameter field
Expected result: It shows “room (3) (Room)”
Actual result: It shows “None (Room)“
Reproducible with: 2021.3.47f1, 2022.3.56f1, 6000.0.34f1, 6000.1.0b2
Reproducible on: Windows 10 (22H2)
Not reproducible on: No other environments tested
Comments (1)
-
M4Mahdi
Jan 12, 2025 14:33
I reported this bug. I think it needs to be added this also here:
- Expected result: It shows “Missing (Room)“. And as a further result, fill this empty or missing element to what was before deleting the game object(“room (3)“ here).
- Actual result: It shows “None (Room)“. And it is an empty element.Just like what it was without entering and exiting Play Mode (So test it one time without entering and exiting Play Mode to see it yourself)
Thank you
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
- TreeView drag and drop operation is not cancelled when a modal opens over it
- Remote Config window causes performance drop in Editor when multiple settings are added
- Property field override bar does not update transparency correctly when switching between valid and invalid GameObjects
- Project window selection is not updated when search term is changed
- Error when adding valid MonoBehaviour script to Prefab in Project window
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.