This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Description
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?