I have a function in a non-main lua file, say Foo:Bar(), where inside I use timer.performWithDelay to delay and iterate an inner function inside Bar() 15 times (or 20, doesn’t matter).
However, inside this inner function that I’m repeating, I am calling a function in main.lua.
If the main.lua function that I call is just a mere print (to console), nothing’s wrong.
I start doing something more with it, then the inner function scheduled to repeat stops repeating.
I’m almost certain that I’m not making any stupid syntax mistakes, or trying to reference nil variables, common causes of runtime problems that aren’t detected during the Corona Simulator launch.