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

GameAssets for the demo example don't seem to be loaded #234

Open
Jokler opened this issue Aug 17, 2024 · 3 comments
Open

GameAssets for the demo example don't seem to be loaded #234

Jokler opened this issue Aug 17, 2024 · 3 comments

Comments

@Jokler
Copy link

Jokler commented Aug 17, 2024

I'm trying to figure out how to load assets without spawning them and I noticed that a GameAssets struct is used in the demo but I can't find where it is populated (or even where it is defined).

Trying to run it results in this:

2024-08-17T09:04:28.257564Z ERROR bevy_asset::server: Path not found: /home/jokler/Blenvy/examples/demo/assets/levels/World.meta.ron
2024-08-17T09:04:28.263632Z  INFO blenvy::blueprints::spawn_from_blueprints: Step 2: metadata loaded: loading assets for BlueprintInfo { name: "World", path: "levels/World.glb" }
2024-08-17T09:04:28.263653Z  WARN blenvy::blueprints::spawn_from_blueprints: no asset metadata found for levels/World.glb, please make sure to generate them using the Blender add-on, or preload your assets manually
2024-08-17T09:04:28.263653Z ERROR bevy_asset::server: Path not found: /home/jokler/Blenvy/examples/demo/assets/levels/World.meta.ron
2024-08-17T09:04:28.263683Z ERROR bevy_asset::server: Path not found: /home/jokler/Blenvy/examples/demo/assets/levels/World.glb
2024-08-17T09:04:28.301303Z  WARN blenvy::blueprints::spawn_from_blueprints: FAILED TO LOAD levels/World.glb
2024-08-17T09:04:28.301383Z  INFO blenvy::blueprints::spawn_from_blueprints: Step 3: all assets loaded, attempting to spawn blueprint scene BlueprintInfo { name: "World", path: "levels/World.glb" } for entity Some("World"), id: 1v1
2024-08-17T09:04:28.301470Z ERROR bevy_asset::server: Path not found: /home/jokler/Blenvy/examples/demo/assets/levels/World.glb
thread 'Compute Task Pool (4)' panicked at crates/blenvy/src/blueprints/spawn_from_blueprints.rs:472:13:
gltf file "levels/World.glb" should have been loaded
@bionicop
Copy link

same here ;-;

@sebastianwhiffen
Copy link

there's no levels folder included in the assets for some reason

@sebastianwhiffen
Copy link

not sure who made the demo but this seems to be by far the most useful of them all, @kaosat-dev your name is attributed to the files here any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants