playMaker

Author Topic: ArgumentOutOfRangeException  (Read 2187 times)

t4d

  • Junior Playmaker
  • **
  • Posts: 50
    • View Profile
ArgumentOutOfRangeException
« on: January 06, 2015, 12:10:49 AM »
help all the playmaker tree has is bool test, move 2 items and set bool. ??

yet getting this error ??

ArgumentOutOfRangeException: startIndex + length > this.length
Parameter name: length
System.String.Substring (Int32 startIndex, Int32 length) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/String.cs:356)
iTween.Stop (UnityEngine.GameObject target, System.String type) (at Assets/iTween/iTween.cs:6430)
HutongGames.PlayMaker.Actions.iTweenFsmAction.OnExitiTween (HutongGames.PlayMaker.FsmOwnerDefault anOwner) (at Assets/PlayMaker/Actions/iTween/iTweenFsmAction.cs:66)
HutongGames.PlayMaker.Actions.iTweenMoveTo.OnExit () (at Assets/PlayMaker/Actions/iTween/iTweenMoveTo.cs:110)
HutongGames.PlayMaker.FsmState.OnExit ()
HutongGames.PlayMaker.Fsm.ExitState (HutongGames.PlayMaker.FsmState state)
HutongGames.PlayMaker.Fsm.SwitchState (HutongGames.PlayMaker.FsmState toState)
HutongGames.PlayMaker.Fsm.UpdateStateChanges ()
HutongGames.PlayMaker.Fsm.DoTransition (HutongGames.PlayMaker.FsmTransition transition, Boolean isGlobal)
HutongGames.PlayMaker.Fsm.ProcessEvent (HutongGames.PlayMaker.FsmEvent fsmEvent, HutongGames.PlayMaker.FsmEventData eventData)
HutongGames.PlayMaker.Fsm.Event (HutongGames.PlayMaker.FsmEventTarget eventTarget, HutongGames.PlayMaker.FsmEvent fsmEvent)
HutongGames.PlayMaker.Fsm.Event (HutongGames.PlayMaker.FsmEvent fsmEvent)
PlayMakerMouseEvents.OnMouseDown ()
UnityEngine.SendMouseEvents:DoSendMouseEvents(Int32, Int32)

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2488
  • Yup.
    • View Profile
    • Cleverous
Re: ArgumentOutOfRangeException
« Reply #1 on: January 06, 2015, 06:39:27 AM »
its an iTween error, maybe you're destroying a GameObject that an iTween action was targetting and the action can't find its reference?