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

Editor - Other

-

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)

  1. This is a duplicate of issue #875882

    Undocking editor tab throws NullReferenceException

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.