diff --git a/crates/bevy_remote/src/builtin_methods.rs b/crates/bevy_remote/src/builtin_methods.rs index 08458da1c0..a3c38e8c3d 100644 --- a/crates/bevy_remote/src/builtin_methods.rs +++ b/crates/bevy_remote/src/builtin_methods.rs @@ -304,7 +304,7 @@ pub struct BrpQueryRow { pub components: HashMap, /// The boolean-only containment query results. - #[serde(skip_serializing_if = "HashMap::is_empty")] + #[serde(skip_serializing_if = "HashMap::is_empty", default)] pub has: HashMap, }