sinai-dev / UnityExplorer

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

[Bug]: #176

Open Brofotet opened 2 years ago

Brofotet commented 2 years ago

Are you on the latest version of UnityExplorer?

Which release are you using?

MelonLoader Mono

Which game did this occur on?

Beholder

Describe the issue.

Hello, please help. I installed moonloader and unity explorer according to the instructions. But when trying to run the game with the plugin, nothing happens. Thanks.

Relevant log output

[17:25:43.569] Loading Mods...
The following assembly referenced from data-5B6B9020 could not be loaded:
     Assembly:   0Harmony    (assemblyref_index=3)
     Version:    2.5.2.0
     Public Key: (none)
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (D:\).

Could not load file or assembly '0Harmony, Version=2.5.2.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Could not load file or assembly '0Harmony, Version=2.5.2.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
The class <>c could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
Could not load file or assembly '0Harmony, Version=2.5.2.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
The class <>c could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
The class System.CodeDom.Compiler.IndentedTextWriter could not be loaded, used in System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
[17:25:43.620] [WARNING] Some Melons are missing dependencies, which you may have to install.
If these are optional dependencies, mark them as optional using the MelonOptionalDependencies attribute.
This warning will turn into an error and Melons with missing dependencies will not be loaded in the next version of MelonLoader.
- 'UnityExplorer' is missing the following dependencies:
    - '0Harmony' v2.5.2.0
    - 'MonoMod.RuntimeDetour' v22.3.23.4

[17:25:43.625] ------------------------------
[17:25:43.625] 1 Mod Loaded
[17:25:43.626] ------------------------------
[17:25:43.626] UnityExplorer v4.9.0
[17:25:43.627] by Sinai
[17:25:43.655] SHA256 Hash: 7e6c95c5f0db2d6b22f506aad4d268a96250bd64d8e259b7e4073106250f36d2
[17:25:43.656] ------------------------------
[17:25:43.659] [WARNING] Some Melons are missing dependencies, which you may have to install.
If these are optional dependencies, mark them as optional using the MelonOptionalDependencies attribute.
This warning will turn into an error and Melons with missing dependencies will not be loaded in the next version of MelonLoader.
- 'UnityExplorer' is missing the following dependencies:
    - '0Harmony' v2.5.2.0
    - 'MonoMod.RuntimeDetour' v22.3.23.4
The class UnityExplorer.ExplorerCore could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
The class UnityExplorer.Runtime.UnityCrashPrevention could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
The class <>c could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
The class UnityExplorer.Hooks.HookInstance could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
The class <>c could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
The class Mono.CSharp.Outline could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
The class UnityExplorer.ExplorerCore could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
[17:25:43.691] [UnityExplorer] [ERROR] System.TypeLoadException: Could not load type 'UnityExplorer.ExplorerCore' from assembly 'UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null'.
  at MelonLoader.MelonHandler+<>c.<OnApplicationStart_Mods>b__29_0 (MelonLoader.MelonMod x) [0x00000] in <filename unknown>:0
  at MelonLoader.MelonHandler.InvokeMelonMethod[MelonMod] (System.Collections.Generic.List`1& melons, MelonLoader.InvokeMelonMethodDelegate`1 method, Boolean remove_failed) [0x00000] in <filename unknown>:0
Setting breakpad minidump AppID = 475550
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561199132279912 [API loaded no]
The following assembly referenced from D:\beh beta\UserLibs\UniverseLib.Mono.dll could not be loaded:
     Assembly:   0Harmony    (assemblyref_index=5)
     Version:    2.5.2.0
     Public Key: (none)
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (D:\beh beta\UserLibs\).

Could not load file or assembly '0Harmony, Version=2.5.2.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
The class <SetupCoroutine>d__23 could not be loaded, used in UniverseLib.Mono, Version=1.5.1.0, Culture=neutral, PublicKeyToken=null
The class UnityExplorer.ExplorerCore could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
The class UnityExplorer.Runtime.UnityCrashPrevention could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
The class <>c could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
The class UnityExplorer.Hooks.HookInstance could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
The class <>c could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
The class Mono.CSharp.Outline could not be loaded, used in UnityExplorer.ML.Mono, Version=4.9.0.0, Culture=neutral, PublicKeyToken=null
The class UniverseLib.Universe could not be loaded, used in UniverseLib.Mono, Version=1.5.1.0, Culture=neutral, PublicKeyToken=null
RealIndica commented 1 year ago

Same problem but with a different mono game on latest ML + Unity Explorer