Bad error message for loading empty string as an asset.
Open
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
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