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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note:
.
Resolution Note (2022.2.X):
No longer reproduces in 2022.2