Skip to content

Scenes Example isn't Recognizing Vec3 Type #5745

Closed
@Carter0

Description

@Carter0

Bevy version

I just pulled down main yesterday.

What you did

I ran the bevy scene example with cargo run --example scene.

What went wrong

I get this error and it prevents any of the data in the ron file from being uploaded.

WARN bevy_asset::asset_server: encountered an error while loading an asset: No registration found for glam::vec3::Vec3

If I delete the transform component from the ron file then things seem to work as usual and I get

2022-08-19T15:50:03.689570Z  INFO scene:   Entity(3)
2022-08-19T15:50:03.689615Z  INFO scene:     ComponentA: { x: 3 y: 2 }

2022-08-19T15:50:03.689641Z  INFO scene:   Entity(4)
2022-08-19T15:50:03.689652Z  INFO scene:     ComponentA: { x: 3 y: 4 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ScenesSerialized ECS data stored on the diskC-BugAn unexpected or incorrect behaviorD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions