• Unity
  • Unity animation transition issue

Hey!
I met an issue with animations transition in Unity
It's not about the first frame, keys and setupPose.
You'll see it at the video (watcj in 60 fps)

Can you help me guys?

PS sorry for my poor english

Sent an email.
Thank you

Pharan wrote

There's a unity@esotericsoftware.com now?

Yea. But you should still send your selfies to my personal though.


Unity 5.2.x has a Mecanim problem... the Current and Next clip info arrays have duplicates for a single frame at the end of a transition... I hate Mecanim soooo much...

Find:

foreach (var info in nextClipInfo) {
               float weight = info.weight * layerWeight;
               if (weight == 0)
                  continue;

Replace with:

foreach (var info in nextClipInfo) {
               float weight = info.weight * layerWeight;
               if (weight == 0 || weight == 1)
                  continue;
Mitch wrote
Pharan wrote

There's a unity@esotericsoftware.com now?

Yea. But you should still send your selfies to my personal though.

why does nobody send me files? 🙁

Mitch wrote

Find:

foreach (var info in nextClipInfo) {
               float weight = info.weight * layerWeight;
               if (weight == 0)
                  continue;

Replace with:

foreach (var info in nextClipInfo) {
               float weight = info.weight * layerWeight;
               if (weight == 0 || weight == 1)
                  continue;

Oh, thank you very much! It helped!
You are awesome! 🙂