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
- VideoPlayer.loopPointReached invokes twice when WaitForFirstFrame is enabled
- Converting empty groups along with nodes into a subgraph prevents subgraph creation and throws errors
- Information box is pushed up when resizing the Visual Element located in the upper part of UI Document
- Transparent objects cannot receive shadows from Point Light when Rendering Path is set to "Deferred" and there is Spot Light in the Scene
- ScriptUpdater does not work correctly when Chinese(Simplified) language support is enabled and compiler messages are localized
This is a duplicate of issue #-991