From aaf806d0891326cc933d039f226c03df840a9bc3 Mon Sep 17 00:00:00 2001 From: Gino Valente Date: Mon, 14 Nov 2022 23:08:23 +0000 Subject: [PATCH] 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]>` --- crates/bevy_hierarchy/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/bevy_hierarchy/src/lib.rs b/crates/bevy_hierarchy/src/lib.rs index 0959fa8130a7b..f156086b1a926 100644 --- a/crates/bevy_hierarchy/src/lib.rs +++ b/crates/bevy_hierarchy/src/lib.rs @@ -41,6 +41,7 @@ impl Plugin for HierarchyPlugin { fn build(&self, app: &mut App) { app.register_type::() .register_type::() + .register_type::>() .add_event::(); } }