Search Issue Tracker
Fixed in 5.4.0
Votes
6
Found in
5.3.0f4
Issue ID
753610
Regression
Yes
[WebGL] StateMachineBehaviours not executing
-e: see title
-repro:
--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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
FlorianBaptiste
Jan 10, 2016 22:18
Same, I have a the issue on Xcode
apixalET
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)
---
gridWalker_Behavior.cs
---
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 ();
}
}
---
a3dline
Dec 18, 2015 15:04
on ios in xcode too