Steps to reproduce:
- Open a URP 3D 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