Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embedded_asset! does not work in multi-crate workspace + release build #14718

Open
benfrankel opened this issue Aug 12, 2024 · 1 comment
Open
Labels
A-Assets Load files from disk to use for things like images, models, and sounds C-Bug An unexpected or incorrect behavior

Comments

@benfrankel
Copy link
Contributor

Bevy version

0.14.1

Relevant system information

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 }

What you did

What went wrong

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

Additional information

This issue seems related: #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.

@benfrankel benfrankel added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Aug 12, 2024
@janhohenheim
Copy link
Member

See #14246 for another embedded_asset bug that may or may not be related

@janhohenheim janhohenheim added A-Assets Load files from disk to use for things like images, models, and sounds and removed S-Needs-Triage This issue needs to be labelled labels Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Assets Load files from disk to use for things like images, models, and sounds C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

No branches or pull requests

2 participants