Skip to content

Unable to load KTX2 cubemap #9552

@afpatmin

Description

@afpatmin

Bevy version

0.11.2

[Optional] Relevant system information

Cargo: 1.71.1
OS: Windows 11
AdapterInfo { name: "NVIDIA GeForce RTX 2080", vendor: 4318, device: 7810, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "536.67", backend: Vulkan }

What you did

Tried to load a ktx2 cubemap texture

What went wrong

The image didn't load and panic in texture loading thread

Additional information

Console output:
thread 'IO Task Pool (0)' panicked at 'range end index 524288 out of range for slice of length 393216', [...]\bevy_render-0.11.2\src\texture\ktx2.rs:262:53

space.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AssetsLoad files from disk to use for things like images, models, and soundsC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions