bevyengine / bevyengine/bevy

Bevy uses wrong asset folder path when running from exe

Open
#22,103 12 comments 0 reactions 0 assignees View on GitHub
A-Assets C-Bug S-Needs-Design
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version and features

0.17.3

## \[Optional\] Relevant system information

windows 11

## What you did

Ran bevy from executable instead of cargo run while in project root.

## What went wrong

I expected it to find the assets folder based on the root of the project.
It instead checked for the assets folder inside of /target/release

If there is a config for this I would be happy to hear about it but I consider this a failure because it should work by default for such a simple action.

C:\Programming\project> .\target\release\project.exe
...
2025-12-13T06:55:22.794003Z ERROR bevy_asset::server: Path not found: C:\Programming\project\target\release\assets\texture.ktx2
...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.