I was trying to build my project and I get this error on MacOS:
PANIC: unprotected error in call to Lua API (not enough memory)
I also try it in Windows and I don’t get any error but I can’t build it too.
I was trying to build my project and I get this error on MacOS:
PANIC: unprotected error in call to Lua API (not enough memory)
I also try it in Windows and I don’t get any error but I can’t build it too.
Are you using any libs? Is your project huge >2GB?
I am using luasocket and http and my project size is about 7MB
I would bet it has something to do with the use of either of those in some way.
Can you try to make a small reproducible example?
In e-mail?
Ok, the project is shared.
You have a huuuuuuge loop on line #77 of data.lua. That loop will eat all of your memory and then some.
Ok, I made the loop a little bit small and then the game can be builded, thanks.