-
-
Notifications
You must be signed in to change notification settings - Fork 21.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Godot 4.0 alpha6 Gdextension bug with GridMap #60238
Comments
These extensions are all registered before module types currently: Lines 409 to 439 in 12cb05b
|
所以大佬,我应该怎么办 |
I believe there's no workaround currently. But until a proper fix is made, you can try moving |
thank you |
什么时候可以用上简易使用的C++? |
@LiBooks You can try the PR timothyqiu mentions. Note it is not designed or tested for this purpose but you can experiment and it should work. Note: You need to use the corresponding godot-cpp PR for this. |
Godot version
4.0 alpha 6
System information
Windows10 Vulkan
Issue description
I try to make a class extends different classes . The classes include “Control”,"Node","Node3D","Camera3D","GridMap". However, when I choose GridMap, GDextension doesn't work as normal.The class that inherits gridmap is not registered in ClassDB.
Steps to reproduce
#ifndef GRID_MAP_EXTENDS_H
#define GRID_MAP_EXTENDS_H
#include <godot_cpp/classes/grid_map.hpp>
using namespace godot;
using godot::ClassDB;
class GridMapExtends:public Node{
GDCLASS(GridMapExtends, Node)
protected:
static void _bind_methods(){}
};
#endif
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: