playMaker

Author Topic: GUI touch error :(  (Read 1734 times)

qaaz345

  • Playmaker Newbie
  • *
  • Posts: 39
    • View Profile
GUI touch error :(
« on: September 07, 2013, 09:28:51 PM »


touch : FSM : Loop count exceeded maximum : 1000 Default is
1000, Override in Fsm Inspector


Korea does not have the necessary information..
and.. I do not know English ㅠ,ㅠ
« Last Edit: September 08, 2013, 03:36:18 AM by 문도현 »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2488
  • Yup.
    • View Profile
    • Cleverous
Re: GUI touch error :(
« Reply #1 on: September 07, 2013, 10:52:10 PM »
Picture is broken.

Loop maximum means it is going back and forth between two states faster than is allowable.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3630
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: GUI touch error :(
« Reply #2 on: September 08, 2013, 05:46:36 AM »
The max loop warning catches infinite loops that would otherwise crash Unity. Sometimes you want to loop between states many times in one frame (e.g., to create a bunch of objects), but most of the time if you're looping through states more than 1000 times in a frame it's because you accidentally created an infinite loop!

One way to fix an infinite loop is to use a Next Frame Event. This lets you stay in a state for one frame and then go to another state in the next frame.