From 2751c88fea53589a50be0845a8ef7e3ce9bc89e6 Mon Sep 17 00:00:00 2001 From: bd_ Date: Mon, 5 Feb 2024 22:02:53 +0900 Subject: [PATCH] fix: scale adjuster's hidden bones don't block PBs (#653) --- Runtime/ScaleProxy.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Runtime/ScaleProxy.cs b/Runtime/ScaleProxy.cs index 807b6fb8..ca972524 100644 --- a/Runtime/ScaleProxy.cs +++ b/Runtime/ScaleProxy.cs @@ -17,6 +17,11 @@ namespace nadena.dev.modular_avatar.core private void DeferredValidate() { if (this == null) return; + + if (GetComponent() == null) + { + gameObject.AddComponent(); + } gameObject.hideFlags = HideFlags.HideInHierarchy;