Skip to content

Commit

Permalink
fix: remove duplicate animator merger and add parameter type mismatch…
Browse files Browse the repository at this point in the history
… error asset references (#585)

Closes: #549
  • Loading branch information
bdunderscore authored Dec 27, 2023
1 parent 2650566 commit 610ce40
Show file tree
Hide file tree
Showing 8 changed files with 152 additions and 594 deletions.
2 changes: 1 addition & 1 deletion Editor/Animation/AnimationUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static AnimatorController DeepCloneAnimator(BuildContext context, Runtime
{
if (controller == null) return null;

var merger = new AnimatorCombiner(controller.name + " (clone)", context.AssetContainer);
var merger = new AnimatorCombiner(context, controller.name + " (cloned)");
switch (controller)
{
case AnimatorController ac:
Expand Down
Loading

0 comments on commit 610ce40

Please sign in to comment.