Blender_bevy_components_workflow
Blender_bevy_components_workflow copied to clipboard
GameAssets for the demo example don't seem to be loaded
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
same here ;-;
there's no levels folder included in the assets for some reason
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?