Search Issue Tracker
Won't Fix
Won't Fix in 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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Resolution Note:
.
Resolution Note (2022.2.X):
No longer reproduces in 2022.2