Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
1.3.8 - Entities
Issue ID
ECSB-1483
Regression
No
[Entities] MissingReferenceException is thrown when renaming a GameObject with a SpriteRenderer in an entity subscene
Reproduction steps:
1. Open the attached “IN-93096_rename” project
2. Open the “Assets/Scenes/SampleScene.unity” scene
3. In the Hierarchy window, enable the “Resources” subscene
4. In the “Resources” subscene, under the “Background” GameObject, select any “Bricks” GameObject
5. Rename the “Bricks” GameObject to anything you want
Expected results: GameObject is renamed and no error is thrown
Actual results: GameObject is renamed and “MissingReferenceException: The object of type 'UnityEngine.GameObject' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.“ error is thrown
Reproduced with: 1.0.8(2022.3.56f1), 1.3.8 (2022.3.56f1, 6000.0.35f1, 6000.1.0b3)
Reproduced on: Ubuntu 24.04, Windows 11 Pro
Not reproduced on: no other environment tested
-
Resolution Note:
null
Duplicate of another internal issue: ECSB-991: "MissingReferenceException" error is thrown when moving a Child GameObject to another GameObject in the Hierarchy window
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
- Render Graph Viewer Capture button plays the click animation but does not do anything when the Capture button is pressed with the “Enter” key on the keyboard
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
- Celestial bodies order remains unchanged when the Distance setting is modified
- A memory leak occurs with massive terrain when camera position changes occur.
- No valid hits are returned when using RaycastCommand
This is a duplicate of issue #-991