memory access out of bounds.
when I exported the game to html, I launched it and got an error.
how to fix it?
Is this through the "play in browser" button or through the export menu?
Can you post your godot version? You should be able to copy it to your clipboard from the help menu
In the future, for more precision, click here:
If you click on "Remote Debug" does your game run fine?
Just being on 4.0 might be causing some issues. I know that web exports have gone through a lot of work throughout 4.X development. Maybe try making a backup of your project and exporting it with 4.1.2, which is the latest stable release. Also, I was hoping to see whether or not you were using Godot with C#, as 4.X C# projects still do not have web support.
If 4.1.2 doesn't make things any better for you, you're gonna have to debug it. There are different ways you can try to see what's wrong. Make sure that your export has Debug enabled.
- https://docs.godotengine.org/en/stable/tutorials/scripting/debug/overview_of_debugging_tools.html
- https://developer.chrome.com/docs/devtools/ for Chrome
- https://firefox-dev.tools/ for Firefox
- On your server, launching from the command line will give debug console output. Some of the command line options may also help.
I don't use c#
console