-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
bevy_gltf_components sometimes does not do anything #111
Comments
Thanks for the bug report @janhohenheim ! |
Thanks! :) |
Btw one of the PRs drops a lot of the boilerplate present in bevy_gltf_components (soft depreciation, to make it easier for existing users), so I am very tempted to change things up to use your gltf_extras approach as it gets rid of some of the issues of loading scenes vs loading gltf files. |
hehehe :D Glad to help, I wouldn't have been able to write that if I wasn't able to read your code to begin with. I had no idea how to insert reflect-deserialized components! |
Hehe mutually beneficial , open source ftw :) |
Hi @janhohenheim ! |
Sounds good! :) I can also try out the change once you've got them on a branch since I can fairly reliably reproduce the issue (1/3 times) |
Hi @janhohenheim ! Just a short update, finally finished the PR I had going on, so I am switching back to this issue, the use of gltfextras as you did seems completely usable ! |
@janhohenheim , went faster than expected, still wip as I need to double check a few things, but the PR is here , would you mind trying it out to see if it solves your issues ? |
@kaosat-dev I just tried to test it, but Cargo is telling me that it can't find the crate when specified like this: bevy_gltf_components = { git = "https://github.com/kaosat-dev/Blender_bevy_components_workflow", branch = "bevy_gltf_components_gltf_extras" } do you perhaps see my mistake? |
@janhohenheim I think it might be the missing ".git" at the end of the url: |
hmmm.... @GitGhillie , sorry to tag you, but how where you able to try the branch out ? Thanks ! |
No problem! If I can believe the stackoverflow post I saw it should just work but I ran into the same issue :(
|
@GitGhillie I'll try that then, thanks! |
@kaosat-dev found the issue! The lints issue that @GitGhillie ran into is the reason why the crate resolution fails. [lints]
workspace = true because after this commit, my crate resolution works! |
Alright, found the actual mistake, sending a PR. |
Thanks a lot @GitGhillie & @janhohenheim ! :) |
@kaosat-dev can confirm that the branch in question fixes the bug 🎉 everything loads perfectly every time! |
Awesome @janhohenheim ! Merging now :) Thanks a lot for your help, much appreciated :) (added you to the list of contributors) |
See Foxtrot at exactly this commit. When starting the game, every now and then (about 1/3), the loading screen stays up forever. Press G to open the
editor_pls
window and you'll see in the hierarchy that no entity has their components that should be inserted bybevy_gltf_components
.I hotfixed this by using my own little implementation here and it works every time.
The text was updated successfully, but these errors were encountered: