Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnCorby committed Feb 16, 2025
1 parent c7f3ea8 commit ec5d42c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion NewHorizons/Patches/ProfilerPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,12 @@ public static void Postfix( /*MethodBase __originalMethod, Stopwatch __state*/)
}
}

/// <summary>
/// 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.
/// </summary>
[HarmonyPatch]
public static class EvilPatch
public static class DisableShaderLogSpamPatch
{
[HarmonyPrefix]
[HarmonyPatch(typeof(StackTraceUtility), "ExtractStackTrace")]
Expand Down

0 comments on commit ec5d42c

Please sign in to comment.