bevyengine / bevyengine/bevy

Tonemapping example image loader not working

Open
#10,395 5 comments 0 reactions 0 assignees View on GitHub
A-Assets C-Bug D-Complex
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## Bevy version 32a5c7db3535250c43738e3da5877497b1274960

Previously, in the tonemapping example an exr or hdr image file could be dragged and dropped onto the window to view the image with the selected tonemapping settings. This no longer works.

The issue was introduced at 35073cf7aa9eaf748e167c103921a6764fcedfb1 with #9885

```
thread 'Compute Task Pool (21)' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidSourceSyntax', crates\bevy_asset\src\path.rs:115:70
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure in the tonemapping example with an EXR or HDR drag-and-drop. Start at crates/bevy_asset/src/path.rs:115 and review commit 35073cf7aa9eaf748e167c103921a6764fcedfb1 and #9885 to trace the InvalidSourceSyntax error. Done means both image formats load without a panic and display with the selected tonemapping settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.