Hi,
While testing my app on the simulator, i get sometimes the following error:
?:0: attempt to perform arithmetic on field ‘?’ (a nil value)
Now, as you can see the error doesn’t point to a specific function or line of code. I read on the forums that such an error message refers to built in corona libraries, and not to the code i wrote my self. That’s fine, but how can i know what is causing the error in the library, especially that, the error doesn’t occur always in the same place.
To clarify, let’s say the error occurs after performing certain steps in the app. When the error occurs the simulator stops with the above error message. If i relaunch the simulator and perform the exact same steps (try to reproduce the error), the error doesn’t occur. However, a few scenes later, the error might re-occur.
Any ideas on how to hunt this error down?
Many thanks
Luay