DmitriySalnikov / godot_debug_draw_3d

Draw 3D debug graphics and 2D overlays with this add-on.
https://dd3d.dmitriysalnikov.ru/
Other
390 stars 19 forks source link

[Bug]: Web Exports fail in 4.3beta2 #46

Open zaknafean opened 2 weeks ago

zaknafean commented 2 weeks ago

Godot version

4.3 beta 2

DebugDraw3D version

4.1.3

On which operating systems the error occurs

Web

Using which renderers the error occurs

Vulkan

Issue description

This MAY not be an issue with your plugin specifically, but figured I'd report it anyway, for awareness if nothing else. Troubleshooting a gamejam export with Godot 4.3 beta 2, and after checking the extensions support box: image

Any attempt to run the project from a browser resulted in this error image

After trial and error turning on and off a number of plugins, the only fix was to remove the DebugDraw from my release build.

As I'm not using any other GDextension plugins, I don't know if this is a wider issue with GDExtensions and web exports as a whole, or specific to this project. If so, a note or warning to users may be warranted as the error was hard to figure out.

Windows exports were working perfectly fine with no issues.

Steps to reproduce

1) Create a game and include DebugDraw3D in Godot 4.3 beta2 2) Export via web after checking the GD Extension button 3) The game will hang with the above error.

Minimal reproduction project

N/A

DmitriySalnikov commented 2 weeks ago

DebugDraw3D version

4.1.3

This is not the DD3D version, this is the minimum version of Godot that it supports.

Godot version

4.3 beta 2

Godot 4.3 has not been released yet. There have been a lot of changes related to WebAssembly and if this is a real problem, then I will have to change the minimum version from 4.1.3 to 4.3, which I would not like to do.

zaknafean commented 2 weeks ago

My mistake. I'm using 1.4.1 of DD3D image

I can try to see if 1.4.2 fixes the issue. But I expect it is just a web export problem that's probably more on the Godot side.