diff --git a/Assets/UniGLTF/Runtime/UniHumanoid/SkeletonMeshUtility.cs b/Assets/UniGLTF/Runtime/UniHumanoid/SkeletonMeshUtility.cs index d9c0436de..4b38f6b66 100644 --- a/Assets/UniGLTF/Runtime/UniHumanoid/SkeletonMeshUtility.cs +++ b/Assets/UniGLTF/Runtime/UniHumanoid/SkeletonMeshUtility.cs @@ -252,9 +252,10 @@ namespace UniHumanoid } else { -#if VRM_DEVELOP - Debug.LogWarningFormat("{0} not found", headTail.Head); -#endif + if (VRMShaders.Symbols.VRM_DEVELOP) + { + Debug.LogWarningFormat("{0} not found", headTail.Head); + } } } @@ -271,4 +272,4 @@ namespace UniHumanoid return renderer; } } -} +} \ No newline at end of file diff --git a/Assets/UniGLTF/Runtime/UniHumanoid/UniHumanoid.asmdef b/Assets/UniGLTF/Runtime/UniHumanoid/UniHumanoid.asmdef index 825f3bbc2..603a943f7 100644 --- a/Assets/UniGLTF/Runtime/UniHumanoid/UniHumanoid.asmdef +++ b/Assets/UniGLTF/Runtime/UniHumanoid/UniHumanoid.asmdef @@ -2,7 +2,8 @@ "name": "UniHumanoid", "rootNamespace": "", "references": [ - "GUID:1cd941934d098654fa21a13f28346412" + "GUID:1cd941934d098654fa21a13f28346412", + "GUID:da3e51d19d51a544fa14d43fee843098" ], "includePlatforms": [], "excludePlatforms": [],