Skip to content

GenerateTangents in 0.14.1 can panic even though it is supposed to return Result  #14874

@ethereumdegen

Description

@ethereumdegen

Bevy version

0.14.1

What went wrong

MESH:: GenerateTangents() in 0.14.1 can panic even though it is supposed to return Result

 thread 'Compute Task Pool (1)' panicked at /home/andy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_mikktspace-0.14.0/src/generated.rs:1033:15:
attempt to subtract with overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_clay_tiles::clay_tile_block::build_tile_block_meshes`!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorD-ModestA "normal" level of difficulty; suitable for simple features or challenging fixesD-UnsafeTouches with unsafe code in some wayP-CrashA sudden unexpected crashS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions