Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X
Votes
2
Found in
2021.3.47f1
2022.3.56f1
6000.0.34f1
6000.1.0b2
6000.2.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)
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
- Undoing Animator Parameter name change breaks references to it
- Crash on BV4_OverlapBoxAll when moving in play mode
- Custom mesh water surface normal map fades out when Y Position increases
- Sprite renderer does not issue draw calls correctly when using SRP Batcher
- [Android] Flickering artifacts when using "ScriptableRenderer.EnqueuePass(RenderPassEvent.BeforeRenderingPostProcessing)" multiple times
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