Sudden Compile Errors?

Not sure if anyone started running into this, but I had been essentially coding for 14 hours fine, and all of a sudden I tried to Build my latest code for iOS and even though my app ran fine in the Simulator it suddenly was giving me compile errors! I’d never seen this before and really needed to have a build to send to my partner tonight. Nearly flipping my shit, I actually looked at the source of the error and it was some other LUA backup I made of my main.lua file called main-xxxx.lua I had in the root directory, but had not included anywhere. I removed the offending lua file from my root directory and now all is well.

Did something happen tonight at midnight that suddenly makes builds compile every lua file in your root directory even if it’s not included in your actual main.lua? I’m working fine now, so it’s now just more of a curiosity and a note to others in case they suddenly encounter this issue tonight as well. [import]uid: 17341 topic_id: 23959 reply_id: 323959[/import]

The contents of the folder will be included in the final file regardless of whether or not you require them; although why the issue wasn’t apparent earlier I’m not sure.

Glad you were able to resolve it in any case.

Peach :slight_smile: [import]uid: 52491 topic_id: 23959 reply_id: 96524[/import]