Hello,
Lately I’ve been doing a lot of coding but often I’ve been getting a weird error when I build the app so I can run it for my android phone, the error says
Runtime Error
C:\Users\Hayden\Documents\Corona Projects\WhyAlwaysMe\main.lua:153:attempt to index global ‘pointer’ (a nil value)
I’m very confused about this error because everything else in app still runs i.e the timer still counts down and animations still play. I don’t ever get this error on my laptop when I’m running the app in the simulator so why would I be getting this now?
I’ve checked in both the lua files in using ( I “require” each file because I have a menu) and the file the error says to look at only has 93 lines of code and the other lua file has some of my commented out code on line 153.
Any and all help would me much appreciated, thank you in advance
Hayden