KybernetikGames / animancer

Documentation for the Animancer Unity Plugin.
67 stars 8 forks source link

Unity 2022.2 Can't move camera in Transition Preview Window #247

Closed Setmaster closed 1 year ago

Setmaster commented 1 year ago

Are we supposed to be able to move the camera in the Transition Preview Window? Like how we can in the Scene View.

Animancer: 7.4a3

KybernetikGames commented 1 year ago

Yep, looks like another thing that's inexplicably broken in Unity 2022.2. The only camera control that works is Scroll to Zoom.

Unfortunately, it doesn't look like there's anything I can do about this one. I've submitted a Unity Bug Report with the simplest possible custom SceneView which exhibits the same behaviour:

using UnityEditor;

[EditorWindowTitle]
public class NewBehaviourScript : SceneView
{
    [MenuItem("Bug/Open Window")]
    private static void Open()
        => GetWindow<NewBehaviourScript>(typeof(SceneView));

    public override void OnEnable()
    {
        base.OnEnable();
        titleContent = new UnityEngine.GUIContent("Bug");
    }
}

It works fine in 2021.3. Not sure about 2022.1.

KybernetikGames commented 1 year ago

This issue has been confirmed as a Unity Bug.