Search Issue Tracker

Active

Under Consideration for 6000.2.X, 6000.3.X

Votes

0

Found in

2022.3.64f1

6000.0.54f1

6000.1.12f1

6000.2.0b10

6000.3.0a2

Issue ID

UUM-111882

Regression

No

OS Window is switched and errors logged when trying to access Overrides of the same Prefab in the Overrides Panel

-

*Steps to reproduce:*
# Open any Project
# Import the attached Unity Package
# Double click the Prefab "Layout Geometry" to open the Prefab
# In the Prefab's Hierarchy select "Direction Platform"
# In the Inspector open the Overrides Menu
# Then in the Review, Revert or Apply Overrides modal select "Direction Platform" again
# Then click on the "Overrides" button again ant repeat step 6 and 7

*Actual results:* Errors are logged:
"MissingReferenceException: The object of type 'UnityEditor.HostView' 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."
"Destroying object multiple times. Don't use DestroyImmediate on the same object in OnDisable or OnDestroy.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)"

then
OS Window is switched
a Prefab Source and Overrides modal opens without the Editor Window being present
if one of the buttons in those modals is clicked on the Editor is focused again
if no action is taken in the modals they do not disappear and cannot be removed by clicking elsewhere

*Expected results:* Prefab Source and Override modals cannot be opened for the same asset they are already opened

*Reproducible with versions:* 2022.3.64f1, 6000.0.54f1, 6000.1.12f1, 6000.2.0b10, 6000.3.0a2

*Tested on (OS):* Windows 11

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.