godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.21k stars 21.22k forks source link

v4.4.dev2 Changes in the .godot\exported folder break the project: export to web stops working #97368

Open tvister091 opened 1 month ago

tvister091 commented 1 month ago

Tested versions

System information

Godot v4.4.dev2 - Windows 10.0.19045 - OpenGL 3 (Compatibility) - GeForce GT 740M - Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz (4 Threads)

Issue description

At some point, the game stopped running on the web. Instead of a scene, there was a blank screen. But scripts can work. The error "tmp_js_export.js:9 WebGL: INVALID_ENUM: disable: invalid capability" in the console doesn't seem to affect this in any way - it shows up on work projects too. I deleted everything I could from the project, but it didn't help.

But after deleting the .godot\exported folder, the problem is solved.

Also, if you try to roll back the version to v4.4.dev1, the web works.

Game in editor: redactor

Game in web: web

Steps to reproduce

Run the game in remote debugging mode in the browser. Or export as web and run in the browser.

To make the error disappear, you need to delete the folder .godot\exported

Minimal reproduction project (MRP)

bug.zip

tvister091 commented 1 month ago

P.S. Is the error "tmp_js_export.js:9 WebGL: INVALID_ENUM: disable: invalid capability" significant and should I create a separate thread about it?