Open benfrankel opened 1 month ago
0.14.1
Arch Linux v6.9.9-arch1-1 cargo 1.82.0-nightly (94977cb1f 2024-08-06) AdapterInfo { name: "AMD Radeon RX 570 Series (RADV POLARIS10)", vendor: 4098, device: 26591, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 24.1.3-arch1.1", backend: Vulkan }
embedded_asset!
foo
cargo run
cargo run --no-default-features --release
Dev build was fine, release build failed to load the splash screen:
2024-08-12T08:18:26.397120Z ERROR bevy_asset::server: Path not found: /foo/screen/splash/splash.png
This issue seems related: https://github.com/bevyengine/bevy/issues/10575
However, that's about embedded_watcher not working while embedded_asset! does work, and there's no mention of dev vs. release builds having different outcomes.
embedded_watcher
See https://github.com/bevyengine/bevy/issues/14246 for another embedded_asset bug that may or may not be related
embedded_asset
Bevy version
0.14.1
Relevant system information
What you did
embedded_asset!
for a splash screen image in the memberfoo
of a multi-crate workspace: https://github.com/benfrankel/bevy_jam_template/blob/c257d9da92859a1f11a42ea7da578d90e6a642d9/foo/src/screen/splash.rs#L20cargo run
(dev build) andcargo run --no-default-features --release
(release build)What went wrong
Dev build was fine, release build failed to load the splash screen:
Additional information
This issue seems related: https://github.com/bevyengine/bevy/issues/10575
However, that's about
embedded_watcher
not working whileembedded_asset!
does work, and there's no mention of dev vs. release builds having different outcomes.