Skip to content
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

ray_intersection_over_mesh line 25 #126

Open
prettymarkus opened this issue Nov 25, 2024 · 0 comments
Open

ray_intersection_over_mesh line 25 #126

prettymarkus opened this issue Nov 25, 2024 · 0 comments

Comments

@prettymarkus
Copy link

I'm currently using bevy_mod_raycast in the development of a CAD application to pick objects. Occasionally, the application panics with "Mesh does not contain vertex position." Shortly before this (a few milliseconds), I change the visibility of objects and only search for visible objects. I suspect something is going wrong in the direction of a race condition. The panic occurs in raycast.rs line 25 when vertex_positions is None. Why does it panic at this point instead of simply returning an error or an Option::None?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant