Skip to content

Commit 1f8cc9d

Browse files
committed
bevy_scene: Add missing registration for SmallVec<[Entity; 8]> (#6578)
# Objective > Part of #6573 `Children` was not being properly deserialized in scenes. This was due to a missing registration on `SmallVec<[Entity; 8]>`, which is used by `Children`. ## Solution Register `SmallVec<[Entity; 8]>`. --- ## Changelog - Registered `SmallVec<[Entity; 8]>`
1 parent af2a199 commit 1f8cc9d

File tree

1 file changed

+1
-0
lines changed
  • crates/bevy_hierarchy/src

1 file changed

+1
-0
lines changed

crates/bevy_hierarchy/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ impl Plugin for HierarchyPlugin {
4141
fn build(&self, app: &mut App) {
4242
app.register_type::<Children>()
4343
.register_type::<Parent>()
44+
.register_type::<smallvec::SmallVec<[bevy_ecs::entity::Entity; 8]>>()
4445
.add_event::<HierarchyEvent>();
4546
}
4647
}

0 commit comments

Comments
 (0)