Skip to content

bevy_remote doesn't work with dynamic components #18138

@SpecificProtagonist

Description

@SpecificProtagonist

bevy_remote treats dynamic components as non-existing, with the exception of the list method when applied to an entity (but not globally).

There are two obstacles to solving this:

  • BRP identifies components by name. This could be solved by switching to component ids and adding a method to get the corresponding component name (and component mutability while we're at it). Alternatively, uniqueness could be enforced for component names & a name → component id index could be built.
  • Reflect dynamic components / type registrations for dynamic types #14404, which blocks ser/de for dynamic components. But even without that, we should still be able to list and remove dynamic components.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Dev-ToolsTools used to debug Bevy applications.C-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions