Hey guys,
So I’m getting a strange error when trying to bundle.
The funny thing is that the game runs fine when I just run it from the editor with F5, it is only when bundling that this issue appears.
Also here are my dependencies:
Any thoughts?
Hey guys,
So I’m getting a strange error when trying to bundle.
The funny thing is that the game runs fine when I just run it from the editor with F5, it is only when bundling that this issue appears.
Also here are my dependencies:
Any thoughts?
What does the require look like in main.lua?
Like this:
__lua_lib_luasocket_Socket = _G.require("socket")
So it turns out it’s a code-generation issue on my part, this should have probably looked like “socket.socket” right?
Anyway, creating an empty “socket.lua” in the project root solves it for me. It’s a Haxe problem so I’ll mark this thread for deletion, sorry!
No need to delete! Just mark as solved.