Search Issue Tracker
Fixed
Fixed in 1.3.X - Entities
Votes
0
Found in [Package]
1.2.0-pre.12 - Entities
1.3.X - Entities
7000.0.0a1
Issue ID
ECSB-991
Regression
Yes
"MissingReferenceException" error is thrown when moving a Child GameObject to another GameObject in the Hierarchy window
Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/OutdoorsScene“ scene
3. Open the “SubScene” SubScene in the Hierarchy window
4. Drag the “MoveThis“ Child GameObject from under the “Parent1“ Parent GameObject to the “MoveToHere“ GameObject in the Hierarchy window
5. 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, 1.2.0-pre.12(2022.3.21f1, 2023.2.14f1, 6000.0.0b11)
Not reproducible with: 1.1.0-pre.3(2022.3.21f1, 2023.2.14f1, 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
- Domain Reload loading popup is dark when Editor Theme is set to "Light"
- Scene Views breaks and errors are spammed in the Console when the Game view is shrunk vertically to the minimum, and the Aspect Ratio is 16:9 or 16:10
- Slider Fill Area disappears after undoing “Set Native Size” change
- Crash with multiple stack traces when playing video on a render texture with low-end graphics devices
- Circle handle of the Game view scale slider bar disappears when the scale is set to 1x
Resolution Note (fix version 1.3.X - Entities):
In very specific cases, with Live Baking of Companion Components, it would rebake when re-parenting. However, this would lead to trying to access a GO right after it was destroyed. Changed the order of operations, and now it doesn't access it after anymore.