diff --git a/NewHorizons/Patches/ProfilerPatch.cs b/NewHorizons/Patches/ProfilerPatch.cs index fb480722a..9cdde5083 100644 --- a/NewHorizons/Patches/ProfilerPatch.cs +++ b/NewHorizons/Patches/ProfilerPatch.cs @@ -57,8 +57,12 @@ public static void Postfix( /*MethodBase __originalMethod, Stopwatch __state*/) } } +/// +/// bundle loading causes log spam that slows loading, but only in unity dev profiler mode. +/// patch it out so it doesnt do false-positive slowness. +/// [HarmonyPatch] -public static class EvilPatch +public static class DisableShaderLogSpamPatch { [HarmonyPrefix] [HarmonyPatch(typeof(StackTraceUtility), "ExtractStackTrace")]