SDK / getting "bad header in precompiled chunk" for my scripts.
I have downloaded the latest lua here: https://www.lua.org/download.html
Initialled on my Mac and all is fine.
I then wanted to obfuscate my code so I need to compile the scripts.
I do
luac -o CompiledScriptName.lua ScriptName.lua
All seems to be ok, the new compiled file is created no issues...but then I get this error whenever I run the script in LrC.
NameOfScript.lua: bad header in precompiled chunk
Don't know what I am doing wrong here.
Any help would be appreciated.
