-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-deterministic "An error occurred before the game window could be initialised. Please check the console!" #35
Comments
Looks like Davidobot/love#1 adds the newline that is necessary for emscripten to buffer the line and actually send it to the JS console. |
Oh! Thanks for the heads up. I didn't realise there was a pull request. I'll merge it and build a new version of love.js today/tomorrow |
I've tested out the PR and I can see whats happening now.
I've fixed my code, but the 2x2 canvas issue is still a problem. I will look to see what I can debug here. |
I think this is related to #16 ? |
I'm pretty sure that's it. I'll close this issue. By the way, I found that builds on emsdk 2.0.17 fail with the following error when run in a webpage.
Downgrading to 1.40.1 worked. So the emsdk version should probably be pinned somewhere in the script or in the README.md. |
I think I build with 2.x.x if I remember correctly. I'll check it out |
This project is extremely impressive - I think HTML export is the most needed feature in the LOVE ecosystem.
I'm encountering an issue (compatibility mode) where, most of the time my game will load successfully, but every now and then the load fails with the following alert:
An error occurred before the game window could be initialised. Please check the console!
The console logs don't have any relevant errors and are the same from a successful load to an unsuccessful load.
Here's a temporarily hosted version: https://fault-beta.surge.sh/
I also traced this string to Exception.cpp so it looks to be just a generic message.
The text was updated successfully, but these errors were encountered: