Blender_bevy_components_workflow icon indicating copy to clipboard operation
Blender_bevy_components_workflow copied to clipboard

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

Open Jokler opened this issue 1 year ago • 3 comments

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

Jokler avatar Aug 17 '24 09:08 Jokler

same here ;-;

bionicop avatar Sep 11 '24 09:09 bionicop

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

sebastianwhiffen avatar Oct 06 '24 04:10 sebastianwhiffen

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?

sebastianwhiffen avatar Oct 06 '24 04:10 sebastianwhiffen