sinai-dev / UnityExplorer

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

[Bug]: Cant load Unity Explorer in ST3 #220

Open OxIceBear opened 1 year ago

OxIceBear commented 1 year ago

Are you on the latest version of UnityExplorer?

Which release are you using?

MelonLoader IL2CPP

Which game did this occur on?

In Slendytubbies 3 Multiplayer

Describe the issue.

So it doesnt wanna load Unity Explorer and it says: 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.

Relevant log output

[19:22:33.500] ------------------------------
[19:22:33.618] MelonLoader v0.6.1 Open-Beta
[19:22:33.623] OS: Windows 10
[19:22:33.624] Hash Code: 696B58144EEC73C72FA36A811CA73312EEE4EC28AD5E3527BDA1E14F388A
[19:22:33.624] ------------------------------
[19:22:33.626] Game Type: Il2cpp
[19:22:33.626] Game Arch: x64
[19:22:33.627] ------------------------------
[19:22:33.628] Core::BasePath = C:\Users\Jocko\Downloads\Slendytubbies 3 v2_46 (Multiplayer) x64
[19:22:33.629] Game::BasePath = C:\Users\Jocko\Downloads\Slendytubbies 3 v2_46 (Multiplayer) x64
[19:22:33.630] Game::DataPath = C:\Users\Jocko\Downloads\Slendytubbies 3 v2_46 (Multiplayer) x64\Slendytubbies 3_Data
[19:22:33.630] Game::ApplicationPath = C:\Users\Jocko\Downloads\Slendytubbies 3 v2_46 (Multiplayer) x64\Slendytubbies 3.exe
[19:22:33.631] Runtime Type: net6
[19:22:34.009] ------------------------------
[19:22:34.011] Game Name: Slendytubbies 3
[19:22:34.012] Game Developer: ZeoWorks
[19:22:34.020] Unity Version: 2019.4.39f1
[19:22:34.022] Game Version: 2.46
[19:22:34.022] ------------------------------

[19:22:36.499] Preferences Loaded!

[19:22:36.586] Loading Plugins from 'C:\Users\Jocko\Downloads\Slendytubbies 3 v2_46 (Multiplayer) x64\Plugins'...
[19:22:36.594] 0 Plugins loaded.
[19:22:37.608] [MelonStartScreen] Initializing...
[19:22:37.695] [MelonStartScreen] Using Start Screen Theme: "Default"
[19:22:41.662] Loading Il2CppAssemblyGenerator...
[19:22:41.760] [Il2CppAssemblyGenerator] Contacting RemoteAPI...
[19:22:42.238] [Il2CppAssemblyGenerator] Game Not Found on RemoteAPI Host (https://api.melonloader.com/api/v1/game/slendytubbies-3)
[19:22:42.239] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null
[19:22:42.241] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null
[19:22:42.246] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null
[19:22:42.248] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null
[19:22:42.280] [Il2CppAssemblyGenerator] Using Dumper Version: 2022.1.0-pre-release.10
[19:22:42.282] [Il2CppAssemblyGenerator] Using Il2CppInterop Version = 1.4.5
[19:22:42.285] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2019.4.39
[19:22:42.287] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null
[19:22:42.289] [Il2CppAssemblyGenerator] Cpp2IL is up to date.
[19:22:42.291] [Il2CppAssemblyGenerator] UnityDependencies is up to date.
[19:22:42.295] [Il2CppAssemblyGenerator] Checking GameAssembly...
[19:22:42.673] [Il2CppAssemblyGenerator] Assembly is up to date. No Generation Needed.

[19:22:42.687] Loading Mods from 'C:\Users\Jocko\Downloads\Slendytubbies 3 v2_46 (Multiplayer) x64\Mods'...
[19:22:42.692] ------------------------------
[19:22:42.803] Melon Assembly loaded: '.\Mods\UnityExplorer.ML.IL2CPP.net6preview.dll'
[19:22:42.804] SHA256 Hash: '181bf3901b820fabbf279fa02d29645c13e9b6c77619dccb0fac1c3cce410375'

[19:22:43.230] 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:
    - 'UnhollowerBaseLib' v0.4.22.0
[19:22:43.276] ------------------------------
[19:22:43.279] UnityExplorer v4.9.0
[19:22:43.279] by Sinai
[19:22:43.281] Assembly: UnityExplorer.ML.IL2CPP.net6preview.dll
[19:22:43.282] ------------------------------
[19:22:43.283] ------------------------------
[19:22:43.284] 1 Mod loaded.

[19:22:44.554] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[19:22:44.663] Registered mono type MelonLoader.Support.MonoEnumeratorWrapper in il2cpp domain
[19:22:44.672] Registered mono type MelonLoader.Support.SM_Component in il2cpp domain
[19:22:44.703] Support Module Loaded: C:\Users\Jocko\Downloads\Slendytubbies 3 v2_46 (Multiplayer) x64\MelonLoader\Dependencies\SupportModules\Il2Cpp.dll
[19:22:44.804] [UnityExplorer] UnityExplorer 4.9.0 initializing...
[19:22:44.870] [UnityExplorer] [UniverseLib] UniverseLib 1.5.1 initializing...
[19:22:44.877] [UnityExplorer] System.IO.FileNotFoundException: Could not load file or assembly 'UnhollowerBaseLib, Version=0.4.22.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'UnhollowerBaseLib, Version=0.4.22.0, Culture=neutral, PublicKeyToken=null'
   at UniverseLib.UniversalBehaviour.Setup()
   at UniverseLib.Universe.Init(Single startupDelay, Action onInitialized, Action`2 logHandler, UniverseLibConfig config)
   at UnityExplorer.ExplorerCore.Init(IExplorerLoader loader)
   at UnityExplorer.ExplorerMelonMod.OnApplicationStart()
   at MelonLoader.MelonEvent.<>c.<Invoke>b__1_0(LemonAction x) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 174
   at MelonLoader.MelonEventBase`1.Invoke(Action`1 delegateInvoker) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 143
Radomiej commented 1 year ago

I've found the same issue for Farthest Frontier. ML 5.x is working fine

ghost commented 1 year ago

Same issue with Super Auto Pets