Skip to content

Unable to serialize Name #5597

@Shatur

Description

@Shatur

Bevy version

0.7

What you did

I trying to serialize Name.

What went wrong

I have the following error:

Type 'alloc::borrow::Cow<str>' did not register ReflectSerialize

Additional information

It could be solved by calling .register_type::<Cow<'static, str>>(). Should it be registered here be default?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ReflectionRuntime information about typesC-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