Update : Ok I got it fixed but I’ll leave this here in case someone encounters a similar issue. I downloaded Chrome and it worked in Chrome which made me realize it had to be the browser cache. So in Edge and Firefox you have to go to Settings->Privacy and Security-Cookies and Site Data and press “Clear Data”, then you have to check off Temporary Cached Files and pages, AND, this is important, make sure the drop down box at the top that says “When”, doesn’t say “Last Hour”, make it say “Everything” or “All Time”, otherwise its probably going to miss it, that was what got me.
Godot Version
4.3
Question
So yesterday I decided to upgrade to version 4.4 dev 6 to try out some new functionality, and everything in my project was working fine until I started doing web version testing. I downloaded the 4.4 export templates and when I did remote debug in my browser, all my control menu buttons weren’t working. Once I bypassed them using the keyboard I noticed some timers weren’t working in the game either, so I thought maybe I made a mistake here by going to a preview version.
So I go back to 4.3, I rolled back the commits I made to my github repository
to the previous version, (yes I actually committed a bunch of working changes to the game assuming that the web export would work just fine, my mistake)
So now I’m back in 4.3, I have the version of my game running before I decided to try 4.4, and web export now is completely broken. When I try to do remote debug it just halts at the splash screen before getting to the end of the progress bar.
The web developer tools in Firefox reports this
Uncaught (in promise) LinkError: import object field ‘a’ is not a Function
In Edge I get this -
Uncaught (in promise) LinkError: WebAssembly.instantiate(): Import #0 “a” “a”: function import requires a callable
at tmp_js_export.js:153:17
I haven’t loaded Chrome yet but I’m guessing a similar error.
I know Godot doesn’t have an installer but does save things in AppData/Local/Godot and AppData/Roaming/Godot, so I went there and deleted the export_templates for 4.4, just in case it could have been confusing things. Same problem, so I deleted the 4.3.stable templates and redownloaded them, no dice. So then I deleted everything from both Local/Godot and Roaming/Godot, restarted from scratch, created a completely new project with just a Node3D a Camera3D and MeshInstance3D and DirectionalLight3D, re-created the web export preset, and I’m still having the same issue.
So 1 question before I forget, why does the game disable the Web Developer tools shortcuts (F12 and ctrl-shift-I) even on a debug build, and is there a way for me to fix that?
Secondly what do you think I’m missing here? Is there something else I need to clean up? Godot doesn’t create stuff in registry right? What else could have wrecked the web export like this? The version of Edge I’m using was updated on Dec 5th, but this started happening yesterday.
I appreciate any suggestions I can get, thanks in advance!