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
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
# Objective
- Fixes#9552
## Solution
- Only n_pixels bytes of data was being copied instead of 1 byte per
component, i.e. n_pixels * 4
---
## Changelog
- Fixed: loading of Rgb8 ktx2 files.
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
The text was updated successfully, but these errors were encountered: