Filigrani / SkyCoop

Multiplayer for The Long Dark game
MIT License
157 stars 25 forks source link

Crashing to Steam Launcher on Startup #53

Closed JC-Cervidae closed 1 year ago

JC-Cervidae commented 1 year ago

Mod Version: v11.2.0
Game Version: v2.06
Launcher: Steam Additional mods installed: No Perspective: Host

Description

Attempting to load the game through the steam launcher allows for MelonLoader to begin loading, however, partially through the loading process of MelonLoader the process crashes entirely. This is consistent in my attempts.

How to reproduce

  1. Load game through Steam
  2. Wait for MelonLoader to finish loading
  3. MelonLoader crashes back to Steam page.

Expected behavior

Expected game to load properly without crashing.

Logs

Host side log

[17:09:15.649] ------------------------------
[17:09:15.649] MelonLoader v0.5.7 Open-Beta
[17:09:15.650] OS: Windows 10
[17:09:15.650] Hash Code: 49999848531024954985654485098975250521005157544948501005510199495356
[17:09:15.650] ------------------------------
[17:09:15.650] Game Type: Il2Cpp
[17:09:15.651] Game Arch: x64
[17:09:15.652] ------------------------------
[17:09:15.652] Core::BasePath = F:\SteamLibrary\steamapps\common\TheLongDark
[17:09:15.653] Game::BasePath = F:\SteamLibrary\steamapps\common\TheLongDark
[17:09:15.653] Game::DataPath = F:\SteamLibrary\steamapps\common\TheLongDark\tld_Data
[17:09:15.653] Game::ApplicationPath = F:\SteamLibrary\steamapps\common\TheLongDark\tld.exe

[17:09:15.887] ------------------------------
[17:09:15.887] Game Name: TheLongDark
[17:09:15.887] Game Developer: Hinterland
[17:09:15.889] Unity Version: 2021.3.6f1
[17:09:15.889] Game Version: 2.06
[17:09:15.890] ------------------------------

[17:09:16.085] Preferences Loaded!
[17:09:16.091] [Il2CppUnityTls] Patching mono_unity_get_unitytls_interface...
[17:09:16.091] [Il2CppUnityTls] Patching il2cpp_unity_install_unitytls_interface...
[17:09:16.296] [Il2CppUnityTls] Calling Il2CppInstallUnityTlsInterface...

[17:09:16.312] Loading Plugins from 'F:\SteamLibrary\steamapps\common\TheLongDark\Plugins'...
[17:09:16.313] 0 Plugins loaded.

[17:09:16.708] [MelonStartScreen] Initializing...
[17:09:16.734] [MelonStartScreen] Using Start Screen Theme: "Default"
[17:09:17.716] Loading Il2CppAssemblyGenerator...
[17:09:17.745] [Il2CppAssemblyGenerator] Contacting RemoteAPI...
[17:09:18.250] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null
[17:09:18.251] [Il2CppAssemblyGenerator] RemoteAPI.UnhollowerVersion = null
[17:09:18.252] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null
[17:09:18.252] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null
[17:09:18.253] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null
[17:09:18.254] [Il2CppAssemblyGenerator] Using Dumper Version: 2022.1.0-pre-release.8
[17:09:18.255] [Il2CppAssemblyGenerator] Using Il2CppAssemblyUnhollower Version = 0.4.18.0
[17:09:18.256] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2021.3.6
[17:09:18.256] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null
[17:09:18.257] [Il2CppAssemblyGenerator] Cpp2IL is up to date.
[17:09:18.258] [Il2CppAssemblyGenerator] Il2CppAssemblyUnhollower is up to date.
[17:09:18.259] [Il2CppAssemblyGenerator] UnityDependencies is up to date.
[17:09:18.260] [Il2CppAssemblyGenerator] Checking GameAssembly...
[17:09:18.807] [Il2CppAssemblyGenerator] Assembly is up to date. No Generation Needed.

[17:09:18.810] Loading Mods from 'F:\SteamLibrary\steamapps\common\TheLongDark\Mods'...
[17:09:18.811] ------------------------------
[17:09:18.821] Melon Assembly loaded: '.\Mods\SkyCoop.dll'
[17:09:18.821] SHA256 Hash: '7bf55779a882bd39e5fc2d2a7104540ed01dacb19d7774beb24f0062131c2f5b'
[17:09:18.829] Melon Assembly loaded: '.\Mods\Steamworks.NET.dll'
[17:09:18.829] SHA256 Hash: 'a61778cbce992f1d3ab48577d8c6c1c43778727b6127cdfa8b97eccc353ce6ab'
[17:09:18.851] [ERROR] Failed to load 1 Melon from SkyCoop.dll:
[17:09:18.852] [ERROR] Failed to load Melon 'SkyCoop.MyMod': Failed to create an instance of the Melon.
[17:09:18.854] [ERROR] System.TypeLoadException: Could not load type of field 'SkyCoop.MyMod:m_Panel_SelectRegion' (272) due to: Could not resolve type with token 01000086 (from typeref, class/assembly Panel_SelectRegion, Assembly-CSharp, Version=1.0.8284.19032, Culture=neutral, PublicKeyToken=null) assembly:Assembly-CSharp, Version=1.0.8284.19032, Culture=neutral, PublicKeyToken=null type:Panel_SelectRegion member:(null) signature:<none>

  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00018] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00213] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00095] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture) [0x00000] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at MelonLoader.MelonAssembly.LoadMelons () [0x000c4] in <6425afb6ac6a429aaf770255d2f7de57>:0 

[17:09:18.855] ------------------------------
[17:09:18.855] 0 Mods loaded.

Client side log

N/A
JC-Cervidae commented 1 year ago

Apologies, I was unaware that the game must be downgraded to 2.02 in order to play with this mod as this is not mentioned in the ReadMe file. Closing issue.