I got a huge problem since i updated to Unity 5.2.0f3.
In my animator i got some blend trees with a “Direct” blend type, but even if the first is set to 1 and the other to 0, it fires the same event twice (the 2 animations are exactly the same except the sprites). I didnt notice this bug before so i guess it’s the 5.2 update which does that.
Anyone has the same problem than me ? Is this really a bug, or do i have to do anything else to avoid that ?
I’m not sure if this is the same thing but I’ve noticed this situation;
-2 animations in a blend tree.
-animation 1 is threshold 0
-animation 2 is threshold 1
-each animation has an event.
-parameter is set to 0 (animation 1 plays with no blending with animation 2)
The event from animation 2 fires along with the event from animation 1.
We’re seeing this problem as well. We’re using 2D freeform Cartesian blending. Our units are firing multiple projectiles because the event goes off several times (like 8) during the animation. This was not an issue before updating from 5.1, or at least not to this scale and consistency. It happens every single time.
I’m having this problem, with a very simple state – no blending, no transitions, etc. Just a state with a clip assigned to it. The clip has a couple of events and roughly half the time they’ll both fire twice, even though the clip only plays once.
When the events fire twice, they do so in the correct order (i.e. ABAB instead of AABB) and the second set happen the instant the clip finishes. If I add the clip’s normalizedTime to the log, it looks like this:
Event A: 0.6972
Event B: 1.004
Event A: 0
Event B: 0
This is new in 5.2 and it’s driving me up the wall.
Yep! Me too! I use a simple blend tree to blend between my character’s idle animation and run animation. The run animation has one event per foot step to generate a dust particle and sound. The particle fires even when standing still with the blending parameter at 0 (should only be playing idle). I tried to fix the problem by adding an idle state, but I’m still getting misfires while blending between the two states.
I sent the issue to the Unity QA, they answered me :“We have been able to reproduce this bug and have sent it for resolution with our developers. We cannot say when the resolution will be publicly available.”
I hope it will be fixed for the next update, it’s really annoying !
I checked “Public Issue Tracker” but there is no way to find it currently, maybe it’s already on their TODO list ? If they publish it later on the issue tracker don’t worry i’ll post the link below.