bevyengine / bevyengine/bevy

bevy_remote doesn't work with dynamic components

Open
#18,138 0 comments 0 reactions 0 assignees View on GitHub
A-Dev-Tools C-Bug
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

`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.
- #14404, which blocks ser/de for dynamic components. But even without that, we should still be able to list and remove dynamic components.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.