-
Notifications
You must be signed in to change notification settings - Fork 33
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
Trait Default
is not implemented for EditorPlugin
#47
Comments
Hm, I thought this is an error in the book, but it might be a proc-macro problem. First, can you update to latest gdext master? The And also, does the problem appear if you don't specify #[derive(GodotClass)]
#[class(init, base=EditorPlugin)]
struct MyEditorPlugin {
base: Base<EditorPlugin>,
} |
My cargo.toml has this, so I believe I'm up-to-date: I did not know godot::engine was deprecated, I haven't been getting warnings about that |
You need to run What about my other question? 🙂 |
The error I had does disappear, now I need to figure out how to change stuff from whatever old version I was in to the newest version. |
Some #announcements on Discord. But also, did you read the deprecation messages? They contain migration info.
No, that part hasn't changed 🙂 |
@SpencerMycek any update on this? Did you manage to check with the latest version (now |
When following the godot-rust book to create an editor plugin, the GodotClass derive macro throws an error while trying to compile
Code: Copied from Godot-rust book page on EditorPlugins
#[derive(GodotClass)]
the trait
Default
is not implemented forgodot::prelude::Base<godot::engine::EditorPlugin>
The text was updated successfully, but these errors were encountered: