From ec5d42c042d235aa95dc5e41fa88a2afbe2e7b41 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Sat, 15 Feb 2025 20:35:30 -0800 Subject: [PATCH] doc --- NewHorizons/Patches/ProfilerPatch.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/NewHorizons/Patches/ProfilerPatch.cs b/NewHorizons/Patches/ProfilerPatch.cs index fb480722..9cdde508 100644 --- a/NewHorizons/Patches/ProfilerPatch.cs +++ b/NewHorizons/Patches/ProfilerPatch.cs @@ -57,8 +57,12 @@ public static class ProfilerPatch } } +/// +/// 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")]