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
Missing "use" in lib.rs with generated class at path #16
Comments
Hi @Zennii, thankyou for filing this issue. I will take a look at it this week. |
Can you give me more details about your setup? Like godot-rust version, operating system, etc. Did you generate the project using |
In both cases, I did not get the same error as you did, can you give me more details about your setup? |
I did generate it using |
@macalimlim Looks like that branch fixes it for me as well! Thanks! |
Great! I will do a release these coming days. Thanks again for filing this issue 👍🏾 |
I ran
ftw class chars/Player KinematicBody
but when I tried to run the whole game (ftw run
), Rust gave an error that it couldn't findplayer
inhandle.add_class::<player::Player>();
. This seemed to be because the generated code addedmod chars;
to the top, but notuse chars::*;
or at leastuse chars::player;
and I had to add it myself.I'm using the released ftw 0.6.0
The text was updated successfully, but these errors were encountered: