diff --git a/Assets/UniGLTF/Runtime/Utils/UniGLTFLogger.cs b/Assets/UniGLTF/Runtime/Utils/UniGLTFLogger.cs index 594636d4a..07b1e3e25 100644 --- a/Assets/UniGLTF/Runtime/Utils/UniGLTFLogger.cs +++ b/Assets/UniGLTF/Runtime/Utils/UniGLTFLogger.cs @@ -52,7 +52,9 @@ namespace UniGLTF } [System.Diagnostics.Conditional("VRM_DEVELOP")] +#if UNITY_2022_OR_NEWER [HideInCallstack] +#endif public static void Log(string msg, UnityEngine.Object context = null) => s_logger.LogFormat(LogType.Log, context, msg); } } \ No newline at end of file