You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: