Skip to content

Commit

Permalink
[unity] Fixed Leftover AnimationState applied when calling Initialize…
Browse files Browse the repository at this point in the history
…(true). Closes EsotericSoftware#2475.
  • Loading branch information
HaraldCsaszar committed Mar 7, 2024
1 parent 795fb92 commit b9b6e0d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ public override void Initialize (bool overwrite, bool quiet = false) {
if (BuildUtilities.IsInSkeletonAssetBuildPreProcessing)
return;
#endif
state = null; // prevent applying leftover AnimationState
base.Initialize(overwrite, quiet);

if (!valid)
Expand Down

0 comments on commit b9b6e0d

Please sign in to comment.