diff --git a/crates/torii/grpc/src/server/subscriptions/entity.rs b/crates/torii/grpc/src/server/subscriptions/entity.rs index 6511e218ec..d7b03ae26e 100644 --- a/crates/torii/grpc/src/server/subscriptions/entity.rs +++ b/crates/torii/grpc/src/server/subscriptions/entity.rs @@ -184,6 +184,7 @@ impl Service { continue; } + // This should NEVER be None let model = entity.updated_model.as_ref().unwrap().as_struct().unwrap().clone(); let resp = proto::world::SubscribeEntityResponse { entity: Some(proto::types::Entity { diff --git a/crates/torii/grpc/src/server/subscriptions/event_message.rs b/crates/torii/grpc/src/server/subscriptions/event_message.rs index d2260b0044..9bac36fb84 100644 --- a/crates/torii/grpc/src/server/subscriptions/event_message.rs +++ b/crates/torii/grpc/src/server/subscriptions/event_message.rs @@ -165,6 +165,7 @@ impl Service { continue; } + // This should NEVER be None let model = entity.updated_model.as_ref().unwrap().as_struct().unwrap().clone(); let resp = proto::world::SubscribeEntityResponse { entity: Some(proto::types::Entity {