MelonLoader icon indicating copy to clipboard operation
MelonLoader copied to clipboard

[Bug]: Farthest Frontier game launches fine even loads to save but no mods.

Open sader22 opened this issue 3 years ago • 6 comments

All of the following criteria must be met

  • [X] All Requirements must be installed.
  • [X] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

  • [X] Tried reinstalling the Game.
  • [X] Tried reinstalling MelonLoader.
  • [X] Tried restarting PC.
  • [X] Was able to see the Start Screen.

Describe the issue.

As you can see from log there exist an error and i guess because of tat I cant even load mods. Game launches fine even loads to save but no mods. MelonLoader_23-01-29_18-26-35.794.log

Did you attach your log file?

  • [X] Yes, I attached my log file to the text box above.
  • [ ] No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

sader22 avatar Jan 29 '23 15:01 sader22

For what it's worth, I was experiencing that error in beta 0.5.7 but I'm not in alpha 0.6.0. I am however, experiencing a different error in 0.6.0:

[08:32:21.616] [Il2CppAssemblyGenerator] Error Generating Interop Assemblies! System.NullReferenceException: Object reference not set to an instance of an object. at Il2CppInterop.Generator.Contexts.AssemblyRewriteContext.RewriteTypeRef(TypeReference typeRef) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Generator/Contexts/AssemblyRewriteContext.cs:line 133 at Il2CppInterop.Generator.Passes.Pass12FillTypedefs.DoPass(RewriteGlobalContext context) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Generator/Passes/Pass12FillTypedefs.cs:line 33 at Il2CppInterop.Generator.Runners.InteropAssemblyGeneratorRunner.Run(GeneratorOptions options) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Generator/Runners/InteropAssemblyGenerator.cs:line 79 at Il2CppInterop.Generator.Il2CppInteropGenerator.Start() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Generator/Il2CppInteropGenerator.cs:line 30 at Il2CppInterop.Generator.Il2CppInteropGenerator.Run() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Generator/Il2CppInteropGenerator.cs:line 47 at MelonLoader.Il2CppAssemblyGenerator.Packages.Il2CppInterop.ExecuteInterop() in D:\a\MelonLoader\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Packages\Il2CppInterop.cs:line 97

But I don't want to hijack this ticket so I'll leave it at that - looks like both mine and OP's errors are pointing to the assemblies - potentially the same cause?

Azoren-24332 avatar Jan 29 '23 21:01 Azoren-24332

im having the same error,

donimuzur avatar Jan 30 '23 01:01 donimuzur

Also this ticket looks to be a duplicate of #378

Azoren-24332 avatar Jan 31 '23 05:01 Azoren-24332

As of just now, 0.6.0 should work on Farthest Frontier.

SamboyCoding avatar Feb 04 '23 19:02 SamboyCoding

nope here you go with the latest log all other mods also have same error Latest.log Latest.log

sader22 avatar Feb 05 '23 09:02 sader22

Yes it's working now without errors. I had to do a few extra steps to get my mods to work correctly:

  • Update the mod to .NET 6 framework (as stated on the wiki)
  • Reference assemblies in the MelonLoader/Managed folder (as stated on the wiki)
  • Reference assemblies in the MelonLoader/net6 folder
  • Update my mod's references
  • Replace UnhollowerLib references with Il2cppInterop.Runtime

Please update the wiki guide to include the third line as it's needed for il2cpp based games.

damasioj avatar Feb 05 '23 13:02 damasioj