Search Issue Tracker

Fixed in 5.5.0

Votes

0

Found in

5.3.1f1

Issue ID

765141

Regression

No

OnStateMachineEnter() is called on the "Layer 1" StateMachineBehaviour, although it should be called on the "Layer 2"

Animation

-

Reproduction steps:
1. Open attached project
2. Open and play the "test" scene
3. Notice that in the console "Layer 1" message is displayed (check Test.cs)

Actual result: The console outputs "Layer 1" message

Expected result: The console should output "Layer 2" message

Reproduced on: 5.1.4p1, 5.2.4p1, 5.3.2p1, 5.4.0b4

Comments (1)

  1. 2d934b3e45f10945f58751cbfde475d9?d=mm

    baaron4

    May 22, 2016 23:25

    Any news on what future version this will be fixed in? I hit an issue where ONStateMachineEnter() will only ever call on my first layer mask and will call the sub states on that mask even if im on other masks. Kinda stopped me from finishing up animation.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.