playMaker

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

qaaz345

  • Playmaker Newbie
  • *
  • Posts: 39
GUI touch error :(
« on: September 08, 2013, 12:28:51 AM »


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, 06:36:18 AM by 문도현 »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: GUI touch error :(
« Reply #1 on: September 08, 2013, 01:52:10 AM »
Picture is broken.

Loop maximum means it is going back and forth between two states faster than is allowable.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: GUI touch error :(
« Reply #2 on: September 08, 2013, 08: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.