From 3106b11108cbb5e56cd05fe59cdc493320048e2c Mon Sep 17 00:00:00 2001 From: Ricardo Sanchez-Saez Date: Thu, 8 Jan 2026 17:04:54 -0800 Subject: [PATCH] Add XROrigin3D scale warning --- scene/3d/xr/xr_nodes.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scene/3d/xr/xr_nodes.cpp b/scene/3d/xr/xr_nodes.cpp index d4321d442de..86c5a0a0c78 100644 --- a/scene/3d/xr/xr_nodes.cpp +++ b/scene/3d/xr/xr_nodes.cpp @@ -681,10 +681,13 @@ PackedStringArray XROrigin3D::get_configuration_warnings() const { has_camera = true; } } - if (!has_camera) { warnings.push_back(RTR("XROrigin3D requires an XRCamera3D child node.")); } + + if (get_scale().is_equal_approx(Vector3(1, 1, 1))) { + warnings.push_back(RTR("Changing the scale on the XROrigin3D node is not supported. Change the World Scale instead.")); + } } bool xr_enabled = GLOBAL_GET("xr/shaders/enabled");