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

The settings is always ignored when loading assets with settings and label in path. #12320

Open
Jly13 opened this issue Mar 5, 2024 · 1 comment
Labels
A-Assets Load files from disk to use for things like images, models, and sounds A-glTF Related to the glTF 3D scene/model format C-Bug An unexpected or incorrect behavior

Comments

@Jly13
Copy link

Jly13 commented Mar 5, 2024

let path = "models/FlightHelmet/FlightHelmet.gltf#Scene0"; // label: Scene0
let settings =  |s: &mut bevy::gltf::GltfLoaderSettings| {
    error!("This has never been output!");
    s.include_source = true;
};
let scene:Handle<Scene> = asset_server.load_with_settings(path, settings);

The settings is always ignored.

@mockersf mockersf transferred this issue from bevyengine/bevy-assets Mar 5, 2024
@Jly13
Copy link
Author

Jly13 commented Mar 5, 2024

There is an official example that is good for testing:examples\3d\load_gltf.rs at line 50

@TrialDragon TrialDragon added C-Bug An unexpected or incorrect behavior A-Assets Load files from disk to use for things like images, models, and sounds labels Mar 6, 2024
@alice-i-cecile alice-i-cecile added the A-glTF Related to the glTF 3D scene/model format label Sep 26, 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 A-glTF Related to the glTF 3D scene/model format C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

No branches or pull requests

3 participants