[5.2.1p1] Problem when mecanim animation on the first frame

I’ve game objects with mecanim animation attached, that will be used throughout the game. The mecanim state machine is really simple with default state will play the effect when it is instantiated.

Everything went perfect, until recent upgrade to Unity 5.2.1

The first frame game object get instantiated, It won’t start playing the default mecanim state immediately. But it shows the prefab visual for a brief moment then start playing the animation.

This happened all over the place in our game. The only workaround I can think without downgrade to 5.2.0 is to setup prefab state to be exactly the same as the first frame animation would be, and I feel that’s not quite right.


Example scene:

simple game object with mecanim setup. (the prefab shows scale 1,1,1 image)

this is what happened when it get instantiated in Unity 5.2.1 (it shows the prefab state for 1 frame before the animation is play properly)

this is what it should looks like (in previous Unity)

also I’ve tried legacy animation system setup for this case and it works fine.

2314793–156018–testscene.unitypackage (20.6 KB)

1 Like

Just noticed 5.2.1p1 is out. will retest on that version

Updated: 5.2.1p1 , the problem still persist :hushed:

I have this same problem.
Fairly sure it’s related to: http://forum.unity3d.com/threads/unity-5-2-mecanim-transitions-not-working-the-same-as-5-1.353815/page-2#post-2308860

I also have exactly the same problem (. Until upgrading from 5.1.2 to 5.2.1p1 everything works fine…

Have you reported it as a bug?

I have this problem too. Noticed it when upgrading from 4.6.8 to 5.2. Will look at submitting a bug now.

Done. Now waiting for number.

Ok, bug is #732265.

1 Like

I also have this problem, already filed a bug report and they said that it’s a duplicate and they’re working on it. So, fingers crossed.

I got this back from Unity.

“We have identified this issue as a duplicate of an existing known bug and we will be closing the issue. The information you have supplied will help us further in the resolution.”

Yes the issue is fixed, it should be in a patch release in the near future.

3 Likes

Awesome Thank a lot :smile:

Thank you very much! :slight_smile:

@karl_jones That’s great! Any idea when this patch will be released?

1 Like

Should be in 5.2.1p3. Due out soon.

It’s not listed in Fixes.

I just tested in 5.2.1p3 and it seems to have fixed this issue for us! Thanks guys!

1 Like

Yeah its in 5.2.1p3, seems the developer had some technical issues when updating the release notes. Will get them updated soon.

@karl_jones , could you tell me if these fixes already did go or will go into the 5.3 beta releases, or is 5.3 currently lagging w.r.t. these bugfixes? I would love to get started with additive animations, but not if other parts of Mecanims are still broken :slight_smile:

It went into 5.3 beta 2.

1 Like

We also have this issue in 5.2.3p2, no chance this would be rolled into a 5.2.3pX patch?

Its possible however 5.3 will be out next week before any new patch releases for 5.2. Can you switch to 5.3?