Qulex3 Posted October 19, 2025 Posted October 19, 2025 After publishing my game, I try to open it, but it crashes one second after the window appears. It works correct when I start it before publishing my game. Quote
Qulex3 Posted October 19, 2025 Author Posted October 19, 2025 Also, I'm sure they included all the file extensions correctly in the .zip. Quote
Josh Posted November 4, 2025 Posted November 4, 2025 I just tried publishing a new C++ and a new Lua game, and both worked correctly. I will need your project in order to test this. Please make sure the map you want to be loaded first is named "start.map", as this is what the game looks for by default. 1 Quote Let's build cool stuff and have fun.
Qulex3 Posted November 5, 2025 Author Posted November 5, 2025 There's probably a line of code that's breaking the game, but I couldn't find it. I've encountered this kind of publishing issue before. When my project was still in Lua, the game wouldn't launch after publishing because of a require line. Quote
Josh Posted December 8, 2025 Posted December 8, 2025 require is a Lua command and will not work with our file system. It should only be used for loading DLL modules. The Import command will act like require, but works with our file system, including package files. Quote Let's build cool stuff and have fun.
Solution Josh Posted December 8, 2025 Solution Posted December 8, 2025 I will guess that is probably the cause, and close this. Please let me know if there is a project I should test. Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.