playMaker

Author Topic: Help with "IndexOutOfRangeException: Array index is out of range."  (Read 1617 times)

G-Kaiser

  • Playmaker Newbie
  • *
  • Posts: 34
Hello,

I am using Playmaker 1.7.7, Smooth Moves, and Unity 4.6. I cannot get the FSM to respond to key presses, i.e. when a key is pressed it will not move to the next state. Can some one please tell me what this error means and how to correct it? I must include that it did work before but for some reason it is no longer working. I cannot get my players to respond to any commands given by keyboard. Please let me know if I am not being descriptive enough with this post. This issue has halted my progress.

IndexOutOfRangeException: Array index is out of range.
SmoothMoves.BoneAnimation.get_Item (System.String animationName)
SmoothMoves_PlayAnimation.DoPlayAnimation () (at /Users/macuser/Desktop/backup 1/Assets/PlayMaker/Actions/SmoothMoves_PlayAnimation.cs:83)
SmoothMoves_PlayAnimation.OnEnter () (at /Users/macuser/Desktop/backup 1/Assets/PlayMaker/Actions/SmoothMoves_PlayAnimation.cs:55)
HutongGames.PlayMaker.FsmState.ActivateActions (Int32 startIndex)
HutongGames.PlayMaker.FsmState.OnEnter ()
HutongGames.PlayMaker.Fsm.EnterState (HutongGames.PlayMaker.FsmState state)
HutongGames.PlayMaker.Fsm.SwitchState (HutongGames.PlayMaker.FsmState toState)
HutongGames.PlayMaker.Fsm.UpdateStateChanges ()
HutongGames.PlayMaker.Fsm.UpdateState (HutongGames.PlayMaker.FsmState state)
HutongGames.PlayMaker.Fsm.Update ()
PlayMakerFSM.Update ()

Thanks in advance