Search Issue Tracker

Active

Votes

0

Found in [Package]

1.2.1 - Entities

Issue ID

ECSB-1108

Regression

Yes

"MissingReferenceException" error is thrown when checking the Static Editor Flag for a GameObject in a Sub Scene

Package: Entity Component System (ECS)

-

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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.