Search Issue Tracker
Duplicate
Votes
0
Found in
5.6.0b8
Issue ID
882017
Regression
Yes
Game window can not be moved after being detached error (NullReference Exception in UnityEditor.EditorWindow.set_postion) appear
Reproduction steps:
1. Create new project.
2. Detach game window.
Expected result: game window can be dragged, no errors in console.
Actual result: error appears, game window can not be moved.
Reproduced on: 5.6.0b6, 5.6.0b9.
Works fine in: 5.6.0b5, 5.5.1p4.
Regression introduced in: 5.6.0b6.
Error information:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorWindow.set_position (Rect value) (at C:/buildslave/unity/build/Editor/Mono/EditorWindow.cs:843)
UnityEditor.DockArea.DragTab (Rect pos, UnityEngine.GUIStyle tabStyle) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:645)
UnityEditor.DockArea.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:339)
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #875882