sinai-dev / UnityExplorer

An in-game UI for exploring, debugging and modifying IL2CPP and Mono Unity games.
GNU General Public License v3.0
2.37k stars 364 forks source link

[Bug]: UnityExplorer simply doesn't appear #192

Open ArgoreOfficial opened 1 year ago

ArgoreOfficial commented 1 year ago

Are you on the latest version of UnityExplorer?

Which release are you using?

BepInEx IL2CPP

Which game did this occur on?

Sprocket

Describe the issue.

Game loads fine, no crashes, but it just doesn't appear in game.

Error suggests I don't have dotnet runtime 6.0.0.0 but I do; image

Relevant log output

[Message: Preloader] BepInEx 6.0.0-pre.1 - Sprocket
[Info   :   BepInEx] System platform: Windows 10 64-bit
[Info   :   BepInEx] Process bitness: 64-bit (x64)
[Info   : Preloader] Running under Unity v2021.3.0
[Info   : Preloader] 0 patcher plugins loaded
[Info   : Preloader] 0 assemblies discovered
[Message:AssemblyPatcher] Executing 0 patch(es)
[Message:   BepInEx] Chainloader initialized
[Warning:Unhollower] Class::Init signatures have been exhausted, using il2cpp_class_has_references as a substitute!
[Info   :Unhollower] Registered mono type UnhollowerRuntimeLib.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[Info   :   BepInEx] 1 plugin to load
[Info   :   BepInEx] Loading [UnityExplorer 4.9.0]
[Error  :   BepInEx] Error loading [UnityExplorer 4.9.0]: System.TypeLoadException: Could not load type of field 'UnityExplorer.ExplorerBepInPlugin:_configHandler' (2) due to: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
  at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00029] in <986ed57b9a8f4699a3c59a69eb05944a>:0 
  at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions) [0x00095] in <986ed57b9a8f4699a3c59a69eb05944a>:0 
  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean wrapExceptions, System.Boolean skipCheckThis, System.Boolean fillCache) [0x00009] in <986ed57b9a8f4699a3c59a69eb05944a>:0 
  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Boolean wrapExceptions, System.Threading.StackCrawlMark& stackMark) [0x00027] in <986ed57b9a8f4699a3c59a69eb05944a>:0 
  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic, System.Boolean wrapExceptions) [0x00020] in <986ed57b9a8f4699a3c59a69eb05944a>:0 
  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00000] in <986ed57b9a8f4699a3c59a69eb05944a>:0 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <986ed57b9a8f4699a3c59a69eb05944a>:0 
  at BepInEx.IL2CPP.IL2CPPChainloader.LoadPlugin (BepInEx.PluginInfo pluginInfo, System.Reflection.Assembly pluginAssembly) [0x0000c] in <e9997477cd8143c9a348224def0a337e>:0 
  at BepInEx.Bootstrap.BaseChainloader`1[TPlugin].LoadPlugins (System.Collections.Generic.IList`1[T] plugins) [0x0025c] in <16694cdb03bf4887828a298c286d045b>:0 
[Message:   BepInEx] Chainloader startup complete
Sflashy commented 1 year ago

use BepinEx 6.0.0-be.577 version but ye it doesn't work on latest version of BepinEx Edit: and i believe BepinEx wants .net6 compiled plugins but UnityExplorer has not build in .net6