I started getting a lot of #1502 errors in my game. ("script executed for too long") Different flash player versions, different users, random places in the game. I can't reproduce it myself.
I collect game logs in case of the uncaught errors and according to them the users have interacted with the game just a few seconds before this error has occurred. This is what bothers me and this is why I'm asking this question. This can't be right. In case of this error they shouldn't be able to interact with it for at least 15 seconds as far as I understand.
And it's not just one case. All these new errors (hundreds per day) have at least one user action logged 1-10 seconds before the error.
At first I thought the time stamp is wrong. I use getTimer()
to get it. I've inserted while (true)
loop in the game to test this and verified that the time stamp is correct and happens 15 seconds after the action that started the loop that caused the #1502 error.
This error may be connected to TweenLite since all stack traces look like this:
Error: Error #1502
at com.greensock.core::SimpleTimeline/renderTime()
at com.greensock::TweenLite$/updateAll()
The version of TweenLite which I use isn't the most up to date, but I've used it for 1.5 years in this game and it didn't have issues before. Unfortunately I can't update to the most recent version since it's not backward compatible and will require massive changes.
UPD To be clear, the question is "How can I get #1502 error if the user was able to interact with the game just a few seconds before it?"