bevyengine / bevyengine/bevy

Bad error message for loading empty string as an asset.

Open
#18,070 0 comments 0 reactions 0 assignees View on GitHub
A-Assets C-Usability D-Straightforward S-Needs-Design X-Uncontroversial
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## What problem does this solve or what need does it fill?

This is the error message, "" is not printed and asset type is missing, making it completely unusable for debugging purpose.

```
Encountered an I/O error while loading asset: Is a directory (os error 21)
```

## What solution would you like?

Change this somehow.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the empty-string asset load that produces the shown I/O error, then trace the asset-loading error path. Done means the resulting error identifies the empty input and includes the asset type so the failure is useful for debugging.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.