My game exported with Unity5.3 WebL failed running and following errors were shown in Javascript console:
Script error (CreateBoard): OnStateEnter() can not take parameters.
Script error (CreateBoard): OnStateExit() can not take parameters.
Script error (CreateBoard): OnStateUpdate() can not take parameters.
However, it runs well when exported with Unity5.2.
My class “CreateBoard” extends the class “StateMachineBehavior”. So it seems that the method signature in StateMachineBehavior has been changed in Unity5.3.
I just created a simple test with a StateMachineBehavior in 5.3f4. I don’t get any error and the callbacks are executed correctly. If you have a simple repro project, feel free to submit it in a bug report and post the bug number here.
Script error (FadeAnimatorF): OnStateUpdate() can not take parameters.
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoScriptCache.cpp Line: 411)
Script error (FadeAnimatorF): OnStateMove() can not take parameters.
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoScriptCache.cpp Line: 411)
Script error (FadeAnimatorF): OnStateIK() can not take parameters…
it worked on Unity 5.2 correctly
when will the patch ?