Transition Library 8.0.0a2 reordering transitions deletes aliases and causes assert log
shortestyard57 opened this issue · 3 comments
shortestyard57 commented
Environment
- Animancer Version Number: 8.0.0a2
- Animancer Pro or Lite: Pro
- Unity Version: 2022.3.32f1
- Platform: Windows
Description
Reordering transitions in the transition library Transition Modifiers page causes aliases set in Transition Aliases page to be deleted and shows console message Aliases aren't properly sorted. Console stack is attached.
Reproduction
Steps to reproduce the bug:
- Transition library open in editor window.
- Drag transition to another location to reorder.
- Change to Transition Aliases view.
- Aliases for any transition that was reordered is removed
- Console continuously fires assert Aliases aren't properly sorted
- Aliases return and console message stops when Revert button in library windows is used.
[Assert] Aliases aren't properly sorted - console stack.txt
KybernetikGames commented
Thanks for the bug report, that one's an easy fix.
- Open TransitionLibrarySort.cs.
- Go to
SetTransitions
. - Add
library.SortAliases();
at the end of that method.
KybernetikGames commented
I'll keep this issue open until I've released an update with the fix in it.