Search Issue Tracker

Fixed in 5.4.0



Found in


Issue ID




[WebGL] StateMachineBehaviours not executing



-e: see title

--build & run test scene of attached project
--Press the W key to run the animation.
--NOTICE The animation is playing, but the object is not destroyed because the animationStateBehaviour on the Testanim state isn't executed
--expected outcome: object is destroyed after player animation

-repro: 5.3.0p1
-no repro: 5.2.3f1 + 5.4.0a6

Comments (8)

  1. 36c65e3934745df83910152c6a077e4a?d=mm


    Aug 18, 2020 04:43

    good one <a href="">lyricsauto</a>

  2. D0a6f3677b502b95a1fe547d33cfb938?d=mm


    Jul 19, 2020 06:21

    This execution issue is shown in my program and is really confused about overcoming the issue. It will be helpful if someone who has to succeed in overcoming in fixing the issue. Do share the code here which will be helpful for us

  3. Ff0ad61e8030a983dc5354ce548820ec?d=mm


    Apr 25, 2020 08:28

    Build & run the test on your programs and those codes which you already did for better understanding. You must need to understand what things are required for this purpose.

  4. 879d111529f600046dfc1281180eb17d?d=mm


    Mar 19, 2020 07:19

    In direct words, you will be required to explain what you did and how you did it – helping the perusers handle that your examination is legitimate and strong. While moulding the methodology piece for the paper, attempt to include the going with centres.

  5. 948d45886026385ed3582ef2cd0effa5?d=mm


    Jan 10, 2016 22:18

    Same, I have a the issue on Xcode

  6. 9c6bd890e8f9fde4dbfc907f8601ab5f?d=mm


    Dec 28, 2015 00:35

    Can confirm this error for my iOS build as well. Errors as shown in xCode:

    Initialize engine version: 5.3.0f4 (2524e04062b4)
    Script error (gridWalker_Behavior): OnStateEnter() can not take parameters.

    (Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoScriptCache.cpp Line: 411)

    Script error (gridWalker_Behavior): OnStateExit() can not take parameters.

    (Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoScriptCache.cpp Line: 411)

    Script error (gridWalker_Behavior): OnStateUpdate() can not take parameters.

    (Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoScriptCache.cpp Line: 411)

    Script error (gridWalker_Behavior): OnStateMove() can not take parameters.

    (Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoScriptCache.cpp Line: 411)

    Script error (gridWalker_Behavior): OnStateIK() can not take parameters.

    (Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoScriptCache.cpp Line: 411)

    Script error (gridWalker_Behavior): OnStateMachineEnter() can not take parameters.

    (Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoScriptCache.cpp Line: 411)

    Script error (gridWalker_Behavior): OnStateMachineExit() can not take parameters.

    (Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoScriptCache.cpp Line: 411)

    using UnityEngine;
    using System.Collections;

    public class gridWalker_Behavior : StateMachineBehaviour
    override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
    gridWalker GridWalker = animator.gameObject.GetComponent<gridWalker> ();
    GridWalker.pullTrigger ();

  7. D320fdba0b1e20e9ebc6676d78e9c538?d=mm


    Dec 18, 2015 15:04

    on ios in xcode too

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.