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

[Bug]: System.IO.FileNotFoundException: Could not load file or assembly UnHollowerBaseLib #226

Open
1 task done
carrved opened this issue May 1, 2023 · 3 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@carrved
Copy link

carrved commented May 1, 2023

Are you on the latest version of UnityExplorer?

  • Yes, I'm on the latest version of UnityExplorer.

Which release are you using?

MelonLoader IL2CPP

Which game did this occur on?

Combat Masters

Describe the issue.

Just trying to install UnityExplorer as a mod on MelonLoader, getting this error when I launch. Pressing F7 does nothing as well.

Relevant log output

[01:27:09.491] ------------------------------
[01:27:09.545] MelonLoader v0.6.1 Open-Beta
[01:27:09.547] OS: Windows 10
[01:27:09.547] Hash Code: 696B58144EEC73C72FA36A811CA73312EEE4EC28AD5E3527BDA1E14F388A
[01:27:09.547] ------------------------------
[01:27:09.548] Game Type: Il2cpp
[01:27:09.548] Game Arch: x64
[01:27:09.549] ------------------------------
[01:27:09.549] Core::BasePath = C:\Program Files (x86)\Steam\steamapps\common\Combat Master
[01:27:09.550] Game::BasePath = C:\Program Files (x86)\Steam\steamapps\common\Combat Master
[01:27:09.550] Game::DataPath = C:\Program Files (x86)\Steam\steamapps\common\Combat Master\CombatMaster_Data
[01:27:09.550] Game::ApplicationPath = C:\Program Files (x86)\Steam\steamapps\common\Combat Master\CombatMaster.exe
[01:27:09.551] Runtime Type: net6
[01:27:09.732] ------------------------------
[01:27:09.733] Game Name: Combat Master
[01:27:09.734] Game Developer: AlfaBravoInc
[01:27:09.737] Unity Version: 2021.3.19f1
[01:27:09.737] Game Version: 0.8.17
[01:27:09.738] ------------------------------

[01:27:10.767] Preferences Loaded!

[01:27:10.801] Loading Plugins from 'C:\Program Files (x86)\Steam\steamapps\common\Combat Master\Plugins'...
[01:27:10.805] 0 Plugins loaded.
[01:27:11.585] [MelonStartScreen] Initializing...
[01:27:11.629] [MelonStartScreen] Using Start Screen Theme: "Default"
[01:27:12.519] Loading Il2CppAssemblyGenerator...
[01:27:12.544] [Il2CppAssemblyGenerator] Contacting RemoteAPI...
[01:27:12.902] [Il2CppAssemblyGenerator] Game Not Found on RemoteAPI Host (https://api.melonloader.com/api/v1/game/combat-master)
[01:27:12.903] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null
[01:27:12.906] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null
[01:27:12.907] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null
[01:27:12.909] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null
[01:27:12.929] [Il2CppAssemblyGenerator] Using Dumper Version: 2022.1.0-pre-release.10
[01:27:12.930] [Il2CppAssemblyGenerator] Using Il2CppInterop Version = 1.4.5
[01:27:12.932] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2021.3.19
[01:27:12.934] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null
[01:27:12.936] [Il2CppAssemblyGenerator] Cpp2IL is up to date.
[01:27:12.938] [Il2CppAssemblyGenerator] UnityDependencies is up to date.
[01:27:12.940] [Il2CppAssemblyGenerator] Checking GameAssembly...
[01:27:13.686] [Il2CppAssemblyGenerator] Assembly is up to date. No Generation Needed.

[01:27:13.695] Loading Mods from 'C:\Program Files (x86)\Steam\steamapps\common\Combat Master\Mods'...
[01:27:13.698] ------------------------------
[01:27:13.762] Melon Assembly loaded: '.\Mods\UnityExplorer.ML.IL2CPP.dll'
[01:27:13.763] SHA256 Hash: '09f49edd0be7c2c1aecbb892e360230094fd172acac51dce8f75557f3873946a'

[01:27:14.071] 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
[01:27:14.096] ------------------------------
[01:27:14.097] UnityExplorer v4.9.0
[01:27:14.097] by Sinai
[01:27:14.098] Assembly: UnityExplorer.ML.IL2CPP.dll
[01:27:14.099] ------------------------------
[01:27:14.100] ------------------------------
[01:27:14.101] 1 Mod loaded.

[01:27:15.821] Class::Init signatures have been exhausted, using a substitute!
[01:27:15.865] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[01:27:15.930] Registered mono type MelonLoader.Support.MonoEnumeratorWrapper in il2cpp domain
[01:27:15.934] Registered mono type MelonLoader.Support.SM_Component in il2cpp domain
[01:27:15.948] Support Module Loaded: C:\Program Files (x86)\Steam\steamapps\common\Combat Master\MelonLoader\Dependencies\SupportModules\Il2Cpp.dll
[01:27:16.003] [UnityExplorer] UnityExplorer 4.9.0 initializing...
[01:27:16.046] [UnityExplorer] [UniverseLib] UniverseLib 1.5.1 initializing...
[01:27:16.050] [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
[01:29:12.522] Preferences Saved!
@carrved carrved added the bug Something isn't working label May 1, 2023
@carrved
Copy link
Author

carrved commented May 1, 2023

I tried adding UnHollowerBaseLib from knah/Il2CppAssemblyUnhollower (which is the only one I could find), but now I'm getting this error from the MelonLoader log:

[01:31:55.339] [UnityExplorer] System.ArgumentException: Class System.Object does not inherit from a class registered in il2cpp
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2CppImpl(Type type, Boolean logSuccess, INativeClassStruct[] interfaces)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2Cpp(Type type, Boolean logSuccess)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2CppImpl(Type type, Boolean logSuccess, INativeClassStruct[] interfaces)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2Cpp(Type type, Boolean logSuccess)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2CppImpl(Type type, Boolean logSuccess, INativeClassStruct[] interfaces)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2Cpp(Type type, Boolean logSuccess)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2CppImpl(Type type, Boolean logSuccess, INativeClassStruct[] interfaces)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2Cpp(Type type, Boolean logSuccess)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2CppImpl(Type type, Boolean logSuccess, INativeClassStruct[] interfaces)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2Cpp(Type type, Boolean logSuccess)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2CppImpl(Type type, Boolean logSuccess, INativeClassStruct[] interfaces)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2Cpp(Type type, Boolean logSuccess)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2CppImpl(Type type, Boolean logSuccess, INativeClassStruct[] interfaces)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2Cpp(Type type, Boolean logSuccess)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2CppImpl(Type type, Boolean logSuccess, INativeClassStruct[] interfaces)
   at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2Cpp[T]()
   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

@CaMoTraX
Copy link

CaMoTraX commented May 7, 2023

Yeah its not compatible with latest melonlauncher. 0.5.7 works good but with latest 0.6.1 unhollower is not implemented.

@Atmudia
Copy link

Atmudia commented May 9, 2023

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants