Search Issue Tracker

In Progress

Fix In Review for 2023.1.0a6

Planned for 2022.2.X

Votes

0

Found in

2022.2.0a11

2023.1.0a1

Issue ID

UUM-6908

Regression

Yes

Scene window stuck in orbit after context menu click from Hierarchy

--

-

Tested on macOS 12.2 on Trunk version 2023.1.0a1.1

The scene window gets stuck in orbit after opening a context menu from the Hierarchy that overlaps with the Scene window. See attached video for reference. 

 

While in this state, it's not possible to click anything, and moving around the cursor over the Scene window, even without holding RMB, will still be in orbit mode. 

Exact steps to reproduce:
# Create a new project or open an existing one
# Left-click on the Scene View to deselect whatever was selected before
# Right-click any GameObject in the Hierarchy to open a context menu
# Left-click on the Scene View

Reproducible with: 2022.2.0a11

Not reproducible with: 2022.2.0a10

Callstack:

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.SceneViewMotion.HandleMouseUp (UnityEditor.SceneView view, System.Int32 id, System.Int32 button, System.Int32 clickCount) (at /Users/billrey/unity-git/unity/Editor/Mono/SceneView/SceneViewMotion.cs:267)
UnityEditor.SceneViewMotion.TemporaryFPS (UnityEditor.ShortcutManagement.ShortcutArguments args) (at /Users/billrey/unity-git/unity/Editor/Mono/SceneView/SceneViewMotion.cs:103)
UnityEditor.ShortcutManagement.Trigger.ResetActiveClutches () (at /Users/billrey/unity-git/unity/Modules/ShortcutManagerEditor/Trigger.cs:148)
UnityEditor.ShortcutManagement.ShortcutIntegration.OnFocusChanged (System.Boolean isFocused) (at /Users/billrey/unity-git/unity/Modules/ShortcutManagerEditor/ShortcutController.cs:144)
UnityEditor.EditorApplication.Internal_FocusChanged (System.Boolean isFocused) (at /Users/billrey/unity-git/unity/Editor/Mono/EditorApplication.cs:476)

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.