Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullReferenceException on start up #5

Closed
FlameSoulis opened this issue Dec 2, 2023 · 3 comments
Closed

NullReferenceException on start up #5

FlameSoulis opened this issue Dec 2, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@FlameSoulis
Copy link

Tested with 2.5.1 and 2.5.0: attempting to launch with Mod Loader will result in the following:

8:20:30 PM.172 ( -1 FPS)    [DEBUG][ResoniteModLoader] Changing compatibility hash from g6O6jx7g5Oa8/J00KXMzFw== to O3418o7DkChI1EzcPksTCg==
8:20:30 PM.172 ( -1 FPS)    [INFO] [ResoniteModLoader] Compatibility hash spoofing succeeded
8:20:30 PM.174 ( -1 FPS)    [INFO] [ResoniteModLoader] Loading assemblies from rml_mods
8:20:30 PM.343 ( -1 FPS)    [DEBUG][ResoniteModLoader] Method "System.Void FrooxEngine.Engine::RequestShutdown()" has been patched by "com.resonitemodloader.ResoniteModLoader"
8:20:30 PM.371 ( -1 FPS)    [ERROR][ResoniteModLoader] Exception in execution hook!
System.NullReferenceException: Null method for com.resonitemodloader.ResoniteModLoader
  at HarmonyLib.PatchProcessor.Patch () [0x0001d] in <255414689d344b1385ae719f6cce8c55>:0 
  at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00028] in <255414689d344b1385ae719f6cce8c55>:0 
  at ResoniteModLoader.AssemblyHider.PatchResonite (HarmonyLib.Harmony harmony, System.Collections.Generic.HashSet`1[T] initialAssemblies) [0x000f1] in <0b5d7d2085bb4c51ae447d5c47bc968f>:0 
  at ResoniteModLoader.HarmonyWorker.LoadModsAndHideModAssemblies (System.Collections.Generic.HashSet`1[T] initialAssemblies) [0x00010] in <0b5d7d2085bb4c51ae447d5c47bc968f>:0 
  at ResoniteModLoader.ExecutionHook..cctor () [0x00070] in <0b5d7d2085bb4c51ae447d5c47bc968f>:0 

Occurs with or without mods in the mods folder.
DEMONDOGGO-PC - 2023.11.28.1365 - 2023-12-01 20_33_29.log

@XDelta XDelta added the bug Something isn't working label Dec 5, 2023
@AlexW-578
Copy link

I had the same issue, even when redownloading the dll files.
However, i managed fixed it by recompiling the loader again locally.

@XDelta
Copy link
Member

XDelta commented Jan 22, 2024

A fix has already been made, just isn't in a build yet. It doesn't stop the mods from being loaded.

@XDelta
Copy link
Member

XDelta commented Feb 6, 2024

Fix included in 2.6.0

@XDelta XDelta closed this as completed Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants