We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0c0add commit 910844aCopy full SHA for 910844a
Runtimes/Unity/BepInEx.Unity.IL2CPP/Utils/Il2CppUtils.cs
@@ -1,4 +1,4 @@
1
-using System;
+using System;
2
using Il2CppInterop.Runtime;
3
using Il2CppInterop.Runtime.Injection;
4
using Il2CppInterop.Runtime.InteropTypes;
@@ -14,7 +14,7 @@ internal static class Il2CppUtils
14
public static Il2CppObjectBase AddComponent(Type t)
15
{
16
if (managerGo == null)
17
- managerGo = new GameObject { hideFlags = HideFlags.HideAndDontSave };
+ managerGo = new GameObject { hideFlags = HideFlags.HideAndDontSave, name = "BepInEx_Manager" };
18
19
if (!ClassInjector.IsTypeRegisteredInIl2Cpp(t))
20
ClassInjector.RegisterTypeInIl2Cpp(t);
0 commit comments