Search Issue Tracker
In Progress
In Progress in 6000.7.X
Votes
0
Found in
6000.6.0a7
6000.7.0a1
Issue ID
UUM-144402
Regression
No
"NullReferenceException" is thrown when maximizing the UI Viewport window
Steps to reproduce:
- Create a new 3D URP project
- In the Hierarchy, right-click > UI Toolkit > Standard Elements and select anything
- Save the .uxml and observe the UI Viewport window opens
- Double click on UI Viewport tab to maximize it
- Unmaximize it
- Observe the Console
Actual results: "Invalid editor window of type: UnityEditor.FallbackEditorWindow, title: Failed to load" and "NullReferenceException: Object reference not set to an instance of an object" errors are thrown
Expected results: No errors are thrown
Reproducible with versions: 6000.6.0a7
Can’t test with versions: 6000.6.0a6 (UI Viewport window not available)
Tested on (OS): Windows 11
Full errors:
*
{code:java}
Invalid editor window of type: UnityEditor.FallbackEditorWindow, title: Failed to load
UnityEditor.EditorApplication:Internal_CallDelayFunctions (){code}
*
{code:java}
NullReferenceException: Object reference not set to an instance of an object
Unity.UIToolkit.Editor.UIViewportWindow.ReleaseStage (UnityEngine.EntityId stageId) (at <d347da126d734a6886395f445e0eee85>:0)
Unity.UIToolkit.Editor.UIViewportWindow.OnDestroy () (at <d347da126d734a6886395f445e0eee85>:0)
UnityEditor.GUIView:ProcessEvent(EntityId, IntPtr, Boolean&){code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [WebGPU] URP errors when float32-blendable isn't available
- Opening the desktop client selects all pending changes upon startup
- GraphicsState for depth-only passes is not recorded when using GraphicsStateCollection
- Scriptable Audio Processor RootOutput isn't Bursted at runtime
- TextMeshPro warnings are thrown after building AR Mobile, VR and Mixed Reality projects
Add comment