Playmaker Forum

PlayMaker Help & Tips => Android Help => Topic started by: qaaz345 on September 08, 2013, 12:28:51 AM

Title: GUI touch error :(
Post by: qaaz345 on September 08, 2013, 12:28:51 AM
(http://blogattach.naver.net/ec79f04b506766d6f916794d7b96ea963e62922b/20130908_107_blogfile/qaaz345_1378614896818_A1BD42_JPG/dhfb.JPG?type=attachment)

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 ㅠ,ㅠ
Title: Re: GUI touch error :(
Post by: Lane 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.
Title: Re: GUI touch error :(
Post by: Alex Chouls 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.