Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 2f08764

Browse files
committed
bump mod loader versions
1 parent fdefc3d commit 2f08764

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed
8 KB
Binary file not shown.

lib/MelonLoader/MelonLoader.dll

76.5 KB
Binary file not shown.

src/Runtime/MonoHelper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#if MONO
2-
using System;
32
using UnityEngine;
43

54
namespace UnityExplorer.Runtime

src/Runtime/UnityCrashPrevention.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ internal static void Init()
2525

2626
// In Unity 2020 they introduced "Canvas.renderingDisplaySize".
2727
// If you try to get the value on a Canvas which has a renderMode value of WorldSpace and no worldCamera set,
28-
// the game will Crash when Unity tries to read from a null ptr (I think).
28+
// the game will Crash (I think from Unity trying to read from null ptr).
2929
[HarmonyPatch(typeof(Canvas), "renderingDisplaySize", MethodType.Getter)]
3030
[HarmonyPrefix]
31-
internal static void Prefix(Canvas __instance)
31+
internal static void Prefix_Canvas_renderingDisplaySize(Canvas __instance)
3232
{
3333
if (__instance.renderMode == RenderMode.WorldSpace && !__instance.worldCamera)
3434
throw new InvalidOperationException(

0 commit comments

Comments
 (0)