Memory Access Out Of Bounds On Web Export: Migrating 4.5.1 -> 4.6

Godot Version

4.6.stable

Question

I have now upgraded 2 projects from Godot 4.5.1 to Godot 4.6. When I export the web versions and upload them to itch, I now get Memory Access Out of Bounds errors. The only thing that changed was the Godot version.

This is what the Chrome Debugger has to say about it with a debug build:

Even weirder, when I created a brand new Godot 4.6 project and uploaded it, I had no problems.

2 Likes

For now, I’ve reverted back to 4.5. Doing so allowed me to export a working Web project. Sadly, there were some breaking changes so I had to revert back to the version of my code I made before upgrading.

I also logged a bug: Memory Access Out Of Bounds On Web Export: Migrating 4.5.1 -> 4.6 · Issue #115560 · godotengine/godot · GitHub