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

[Bug]: Crash When initialized #210

Open
1 task done
YykGames opened this issue Mar 1, 2023 · 3 comments
Open
1 task done

[Bug]: Crash When initialized #210

YykGames opened this issue Mar 1, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@YykGames
Copy link

YykGames commented Mar 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?

SonsOfTheForest

Describe the issue.

UnityExplorer 4.9.4 initializing...
[UniverseLib] UniverseLib 1.5.4.1 initializing...
[UniverseLib] Finished UniverseLib initial setup.
Initialized UnityCrashPrevention for: Canvas.get_renderingDisplaySize
[UniverseLib] Loaded Unhollowed modules in 11.318001 seconds.
[UniverseLib] Setup deobfuscation cache in 0.34600002 seconds.
[UniverseLib] Initialized Legacy Input support
[UniverseLib] IL2CPP method has no corresponding pointer, aborting patch of UnityEngine.AssetBundle.UnloadAllAssetBundles
[UniverseLib] Loaded modern bundle for Unity 2022.2.3f1
[UniverseLib] UniverseLib 1.5.4.1 initialized.
Creating UI...

UnityExplorer 4.9.4 (IL2CPP) initialized.

Thats the error i have tried everything i could but it crashes after it is initialized.

Relevant log output

UnityExplorer 4.9.4 initializing...
[UniverseLib] UniverseLib 1.5.4.1 initializing...
[UniverseLib] Finished UniverseLib initial setup.
Initialized UnityCrashPrevention for: Canvas.get_renderingDisplaySize
[UniverseLib] Loaded Unhollowed modules in 11.318001 seconds.
[UniverseLib] Setup deobfuscation cache in 0.34600002 seconds.
[UniverseLib] Initialized Legacy Input support
[UniverseLib] 	 IL2CPP method has no corresponding pointer, aborting patch of UnityEngine.AssetBundle.UnloadAllAssetBundles
[UniverseLib] Loaded modern bundle for Unity 2022.2.3f1
[UniverseLib] UniverseLib 1.5.4.1 initialized.
Creating UI...

UnityExplorer 4.9.4 (IL2CPP) initialized.
@YykGames YykGames added the bug Something isn't working label Mar 1, 2023
@Joshtt23
Copy link

Joshtt23 commented Mar 3, 2023

I am also experiencing this issue with 4.9.4. Are you using the branched repository from https://github.com/Baydock/UnityExplorer-NewML?

@rootCBR
Copy link

rootCBR commented Mar 5, 2023

For however much it helps, this is the fatal error that follows the above:

Fatal error. Internal CLR error. (0x80131506)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeNETCore30Platform.CompileMethodHook(IntPtr, IntPtr, CORINFO_METHOD_INFO ByRef, UInt32, Byte* ByRef, UInt32 ByRef)

@Joshtt23
Copy link

Joshtt23 commented Mar 6, 2023

@YykGames @rootCBR

The issue is actually in the harmony.dll. You will need to replace the file MelonLoader/net6/0Harmony.dll with the file I will link below.

Patched 0Harmony.dll: https://drive.google.com/file/d/1372wD3U72gotlTJipykV87M-81TSQhMM/view?usp=sharing

Source: MelonLoader Support Discord

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