Zylann / godot_voxel

Voxel module for Godot Engine
Other
2.47k stars 228 forks source link

GDExtension issues tracker #442

Open Zylann opened 1 year ago

Zylann commented 1 year ago

This tracks issues with GDExtension, as work is ongoing to port this module to it, and there are too many to be listed there. These issues are tracked because they currently prevent the module from working properly and reliably, or affect usability. It is a large module so it hits a lot of them. Once enough of them are solved to allow production use, this tracker will be closed.

So far the module has mostly been ported and compiled, but not tested much as an extension, therefore more issues might come up.

GDExtension/GodotCpp

Missing features (or documentation needed)

Compile-time issues

Runtime issues

Other minor issues

Godot issues

These are unrelated to GDExtension but come up because extensions dont have the same level of API access than modules.

SneaK1ng commented 1 year ago

It seems to take a long time

xkisu commented 1 month ago

EditorImportPlugin::_import is passing platform_variants and gen_files as const arrays. They are supposed to be modifiable, for the method to fill them in. It makes the method unusable and confusing. Workaround is to const_cast them, which is ugly.

I found this issue thread upon discovering the const issue myself in a plugin and thought I'd update you - I've raised it as an issue in the gotdot-cpp repository (https://github.com/godotengine/godot-cpp/issues/1471) and a pull request draft has been started to fix it!