RATS icon indicating copy to clipboard operation
RATS copied to clipboard

Animator elements created with new shortcuts are not saved

Open peterfab9845 opened this issue 11 months ago • 0 comments

Animator states created by the new Ctrl+double-click shortcut, and transitions created by the new Reverse/Redirect/Replicate options, do not appear to be saved properly. Copying the animator controller, or closing and reopening the project, removes them.

Repro steps:

  1. Create a new project in Unity 2022.3.22f1.
  2. Install VRC Base+Avatars SDK 3.8.0 and RATS 1.2.2.
  3. Create an animator controller.
  4. Create states A and B with the Unity right-click menu.
  5. Add a transition from A to B with the Unity right-click menu.
  6. Select the transition and click Reverse.
  7. Create state C by Ctrl+double-clicking.
  8. Add a transition from A to C and from C to B, both using the Unity right-click menu.
  9. Copy the animator controller and view the copy.
  10. The RATS state, and the reversed transition, are gone.

Some things I noticed:

  1. In the debug inspector, the problematic transitions and states have their Local Identifier In File as 0.
  2. The transition from A to C has its Dst State as "Type mismatch".
  3. Trying to multi-select any of the elements created by RATS with any elements not created by RATS does not work (always asks to narrow the selection, but shows just the one type).

Before: Image After: Image

peterfab9845 avatar May 08 '25 09:05 peterfab9845