Search Issue Tracker
Fixed
Votes
0
Found in [Package]
1.2.1 - Entities
1.3.X - Entities
Issue ID
ECSB-1108
Regression
Yes
"MissingReferenceException" error is thrown when checking the Static Editor Flag for a GameObject in a Sub Scene
Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/SampleScene“ scene
3. Open the “New Sub Scene“ Sub Scene in the Hierarchy window
4. Select the “geometry” GameObject
5. Check the Static Editor Flag in the Inspector window
6. Observe the Console window
Expected result: No errors are thrown in the Console window
Actual result: “MissingReferenceException: The object of type 'UnityEngine.GameObject' has been destroyed but you are still trying to access it.“ error is thrown in the Console window
Reproducible with: 1.2.0-exp.3 (2022.3.30f1, 6000.0.0b14), 1.2.1 (2022.3.30f1, 6000.0.4f1)
Not reproducible with: 1.1.0-pre.3 (2022.3.30f1, 2023.3.0a19)
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
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
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
Resolution Note:
Fixed by another internal issue: ECSB-991: "MissingReferenceException" error is thrown when moving a Child GameObject to another GameObject in the Hierarchy window