Hi guys,
I’m getting runtime error on Android phone(screenshot attached). It showed in alert but wandering point is it shows the Transition.lua and its line 595.
What is the issue?
Regards,
Usman Mughal
Hi guys,
I’m getting runtime error on Android phone(screenshot attached). It showed in alert but wandering point is it shows the Transition.lua and its line 595.
What is the issue?
Regards,
Usman Mughal
You are doing something wrong with a transition you are creating but without seeing any of your code it’s impossible to tell what. You have probably assigned a value which is nil - either the object to be transitioned or one the parameters.
App is live and I got this image from a user.
I wanted to get clue to reach to code from this image.
Most likely you are trying to transition an object that has been destroyed. This is common if you are chaining transitions or have transitions running from timers or enterFrame() events.
Always check an object is valid before doing something with it like this
if myObject then transition.to(myObject, {time=1000, x=100}) end
On another note customers should NEVER see errors! Handle them and gracefully close your app if you need to.
You are doing something wrong with a transition you are creating but without seeing any of your code it’s impossible to tell what. You have probably assigned a value which is nil - either the object to be transitioned or one the parameters.
App is live and I got this image from a user.
I wanted to get clue to reach to code from this image.
Most likely you are trying to transition an object that has been destroyed. This is common if you are chaining transitions or have transitions running from timers or enterFrame() events.
Always check an object is valid before doing something with it like this
if myObject then transition.to(myObject, {time=1000, x=100}) end
On another note customers should NEVER see errors! Handle them and gracefully close your app if you need to.