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

ray_intersection_over_mesh line 25 #126

@prettymarkus

Description

@prettymarkus

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions