Skip to content

saves wrong path for external asset. #267

@blueforesticarus

Description

@blueforesticarus

cargo is a blueprint in another file which is correctly exported to blueprints/cargo.glb, but when I save my level it puts in the wrong path, causing a crash.

      "extras": {
        "SpawnBlueprint": "()",
        "BlueprintInfo": "(name: \"cargo\", path: \"./cargo\")"
      },
      "name": "cargo",
2025-03-22T21:56:43.211051Z  WARN blenvy::blueprints::spawn_from_blueprints: FAILED TO LOAD ./cargo
2025-03-22T21:56:43.211262Z  INFO blenvy::blueprints::spawn_from_blueprints: Step 3: all assets loaded, attempting to spawn blueprint scene BlueprintInfo { name: "cargo", path: "./cargo" } for entity Some("cargo"), id: 90v1
thread 'Compute Task Pool (7)' panicked at forks/Blenvy/crates/blenvy/src/blueprints/spawn_from_blueprints.rs:472:2025-03-22T21:56:43.211299Z ERROR bevy_asset::server: Path not found: ./cargo
13:
gltf file "./cargo" should have been loaded

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions