kaosat-dev / Blenvy

Bevy Code & Blender addon for a simple workflow to add & edit Bevy components in Blender
Other
592 stars 55 forks source link

improve error message for ReflectComponent data #222

Closed ChristopherBiscardi closed 2 months ago

ChristopherBiscardi commented 2 months ago

New error message reads like this:

thread 'main' panicked at /Users/chris/github/kaosat-dev/Blenvy/crates/blenvy/src/blueprints/copy_components.rs:78:29:
type "leafwing_input_manager::action_state::ActionState<wash_cycle::leafwing_test::PlayerAction>"'s ReflectComponent data was not found in the type registry, this could be because the type is missing a #[reflect(Component)]

related to #221

kaosat-dev commented 2 months ago

Much clearer error message ! Thanks a lot for the PR , merging ! :)