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

Asset loading fails on Linux but succeeds on Windows #8568

Closed
alice-i-cecile opened this issue May 8, 2023 · 2 comments
Closed

Asset loading fails on Linux but succeeds on Windows #8568

alice-i-cecile opened this issue May 8, 2023 · 2 comments
Labels
A-Assets Load files from disk to use for things like images, models, and sounds C-Bug An unexpected or incorrect behavior O-Linux Specific to the Linux desktop operating system

Comments

@alice-i-cecile
Copy link
Member

Bevy version

0.10.1

Relevant system information

What you did

Ran cargo run -p ci on Leafwing-Studios/Emergence#746 after using git lfs pull.

What went wrong

On PopOS, all assets end up in AssetState::Failed.

On Windows, the same list of assets end up in AssetState::Loaded.

Additional information

Asset loading in general works for me on PopOS.

There may be some file path weirdness going on here: this is being run in a subfolder as it is intended to be used in CI. Oddly though the complete list of assets is discovered correctly in both cases.

@alice-i-cecile alice-i-cecile added C-Bug An unexpected or incorrect behavior A-Assets Load files from disk to use for things like images, models, and sounds O-Linux Specific to the Linux desktop operating system labels May 8, 2023
@mockersf
Copy link
Member

mockersf commented May 8, 2023

could you try to reproduce without git ifs and with less assets?

@alice-i-cecile
Copy link
Member Author

Going to close out for now: there's a good chance this is fixed with our better path handling.

@alice-i-cecile alice-i-cecile closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 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 O-Linux Specific to the Linux desktop operating system
Projects
None yet
Development

No branches or pull requests

2 participants