You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this warning when I have a 2D project open:
SceneView rotation is fixed to identity when in 2D mode. This will be an error in future versions of Unity.
UnityEditor.SceneView:set_rotation (UnityEngine.Quaternion)
SpaceNavigatorDriver.ViewportController:Fly (UnityEditor.SceneView,UnityEngine.Vector3,UnityEngine.Vector3) (at Assets/SpaceNavigator/Editor/ViewportController.cs:134)
SpaceNavigatorDriver.ViewportController:Fly (UnityEditor.SceneView) (at Assets/SpaceNavigator/Editor/ViewportController.cs:108)
SpaceNavigatorDriver.ViewportController:Update () (at Assets/SpaceNavigator/Editor/ViewportController.cs:80)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
The text was updated successfully, but these errors were encountered:
This is not limited to 2D projects. It is common, in Unity, to switch to 2D mode when working with UI in a scene. This error is thrown in this situation too. In Unity 2021 the error is:
SceneView rotation is fixed to identity when in 2D mode. This will be an error in future versions of Unity.
UnityEditor.SceneView:set_rotation (UnityEngine.Quaternion)
SpaceNavigatorDriver.ViewportController:Fly (UnityEditor.SceneView,UnityEngine.Vector3,UnityEngine.Vector3) (at Library/PackageCache/com.pathightree.spacenavigator-driver@2cd5a7cce6/Editor/ViewportController.cs:170)
SpaceNavigatorDriver.ViewportController:Fly (UnityEditor.SceneView) (at Library/PackageCache/com.pathightree.spacenavigator-driver@2cd5a7cce6/Editor/ViewportController.cs:130)
SpaceNavigatorDriver.ViewportController:Update () (at Library/PackageCache/com.pathightree.spacenavigator-driver@2cd5a7cce6/Editor/ViewportController.cs:100)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
SorraTheOrc
added a commit
to TheWizardsCode/SpaceNavigator
that referenced
this issue
Jan 11, 2022
When in 2D scene view to edit a UI a warning is thrown. I have no idea if this is the best way to fix it, but it works and flying makes no sense in 2D so it works for me.
FixesPatHightree#30
I'm getting this warning when I have a 2D project open:
SceneView rotation is fixed to identity when in 2D mode. This will be an error in future versions of Unity.
UnityEditor.SceneView:set_rotation (UnityEngine.Quaternion)
SpaceNavigatorDriver.ViewportController:Fly (UnityEditor.SceneView,UnityEngine.Vector3,UnityEngine.Vector3) (at Assets/SpaceNavigator/Editor/ViewportController.cs:134)
SpaceNavigatorDriver.ViewportController:Fly (UnityEditor.SceneView) (at Assets/SpaceNavigator/Editor/ViewportController.cs:108)
SpaceNavigatorDriver.ViewportController:Update () (at Assets/SpaceNavigator/Editor/ViewportController.cs:80)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
The text was updated successfully, but these errors were encountered: