WulfMarius / ModComponent

Infrastructure library for The Long Dark, allowing to add new items.
MIT License
7 stars 4 forks source link

CTD When opening radial menu - campcraft #16

Closed Marsxxxxxxxx closed 7 months ago

Marsxxxxxxxx commented 7 months ago

Crash happened when opening radial menu campcraft. After removing ModComponent the menu back to normal

Melonloader Log below. Tested in Game ver v2.27. Replication done.

[02:41:12.094] ------------------------------ [02:41:12.118] MelonLoader v0.6.2 Open-Beta [02:41:12.119] OS: Windows 10 [02:41:12.119] Hash Code: 2AD1478D8329B7784C949251EAF68C4C50E2FE9DA6CBB4BDF1DCD43E9026C63C [02:41:12.119] ------------------------------ [02:41:12.119] Game Type: Il2cpp [02:41:12.119] Game Arch: x64 [02:41:12.119] ------------------------------ [02:41:12.120] Core::BasePath = G:\SteamLibrary\steamapps\common\TheLongDark [02:41:12.120] Game::BasePath = G:\SteamLibrary\steamapps\common\TheLongDark [02:41:12.120] Game::DataPath = G:\SteamLibrary\steamapps\common\TheLongDark\tld_Data [02:41:12.120] Game::ApplicationPath = G:\SteamLibrary\steamapps\common\TheLongDark\tld.exe [02:41:12.120] Runtime Type: net6 [02:41:12.292] ------------------------------ [02:41:12.293] Game Name: TheLongDark [02:41:12.293] Game Developer: Hinterland [02:41:12.294] Unity Version: 2021.3.16f1 [02:41:12.294] Game Version: 2.27 [02:41:12.295] ------------------------------

[02:41:12.734] Preferences Loaded!

[02:41:12.869] Loading UserLibss from 'G:\SteamLibrary\steamapps\common\TheLongDark\UserLibs'...

[02:41:12.876] Loading Plugins from 'G:\SteamLibrary\steamapps\common\TheLongDark\Plugins'... [02:41:12.877] 0 Plugins loaded. [02:41:13.271] [MelonStartScreen] Initializing... [02:41:13.301] [MelonStartScreen] Using Start Screen Theme: "Default" [02:41:14.197] Loading Il2CppAssemblyGenerator... [02:41:14.209] [Il2CppAssemblyGenerator] Contacting RemoteAPI... [02:41:14.928] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null [02:41:14.929] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null [02:41:14.930] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null [02:41:14.931] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null [02:41:14.946] [Il2CppAssemblyGenerator] Using Dumper Version: 2022.1.0-pre-release.13 [02:41:14.947] [Il2CppAssemblyGenerator] Using Il2CppInterop Version = 1.4.5 [02:41:14.947] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2021.3.16 [02:41:14.947] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null [02:41:14.948] [Il2CppAssemblyGenerator] Cpp2IL is up to date. [02:41:14.948] [Il2CppAssemblyGenerator] UnityDependencies is up to date. [02:41:14.949] [Il2CppAssemblyGenerator] Checking GameAssembly... [02:41:15.121] [Il2CppAssemblyGenerator] Assembly is up to date. No Generation Needed.

[02:41:15.132] Loading Mods from 'G:\SteamLibrary\steamapps\common\TheLongDark\Mods'... [02:41:15.133] ------------------------------ [02:41:15.138] Melon Assembly loaded: '.\Mods\CraftingRevisions.dll' [02:41:15.139] SHA256 Hash: '8b81773336d0d0cb6ab4c00e0a5c146559285111a6fb3c3a8e86008424162e1e' [02:41:15.141] Melon Assembly loaded: '.\Mods\GearSpawner.dll' [02:41:15.141] SHA256 Hash: '6c868c4339c3a040938026f81b465f1c5ac0a718a632fb35ea237c5911894bf9' [02:41:15.143] Melon Assembly loaded: '.\Mods\LocalizationUtilities.dll' [02:41:15.143] SHA256 Hash: '4576d7a6537ba2c77b07ce7d785816efe7bda8de079c808a9af16e917f79e06c' [02:41:15.155] Melon Assembly loaded: '.\Mods\ModComponent.dll' [02:41:15.156] SHA256 Hash: 'fd60d50db1bb8a8e35c8d405267d0ed7895a22b285ae8f93cece1e89d5a96080' [02:41:15.158] Melon Assembly loaded: '.\Mods\ModSettings.dll' [02:41:15.158] SHA256 Hash: '322812eff13e31276bd77a7a86499a23292d480e66733effd0c65a7e5e6b6669'

[02:41:15.406] ------------------------------ [02:41:15.406] LocalizationUtilities v2.0.0 [02:41:15.406] by ds5678 [02:41:15.407] Assembly: LocalizationUtilities.dll [02:41:15.408] ------------------------------ [02:41:15.413] ------------------------------ [02:41:15.413] ModSettings v2.0.0 [02:41:15.413] by zeobviouslyfakeacc, Digitalzombie [02:41:15.414] Assembly: ModSettings.dll [02:41:15.414] ------------------------------ [02:41:15.420] ------------------------------ [02:41:15.420] CraftingRevisions v2.2.4 [02:41:15.420] by STBlade [02:41:15.421] Assembly: CraftingRevisions.dll [02:41:15.421] ------------------------------ [02:41:15.427] ------------------------------ [02:41:15.427] GearSpawner v2.3.2 [02:41:15.427] by STBlade [02:41:15.427] Assembly: GearSpawner.dll [02:41:15.427] ------------------------------ [02:41:15.433] ------------------------------ [02:41:15.433] ModComponent v6.2.6 [02:41:15.433] by STBlade [02:41:15.434] Assembly: ModComponent.dll [02:41:15.434] ------------------------------ [02:41:15.434] ------------------------------ [02:41:15.434] 5 Mods loaded.

[02:41:16.154] Class::Init signatures have been exhausted, using a substitute! [02:41:16.172] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain [02:41:16.199] Registered mono type MelonLoader.Support.MonoEnumeratorWrapper in il2cpp domain [02:41:16.201] Registered mono type MelonLoader.Support.SM_Component in il2cpp domain [02:41:16.208] Support Module Loaded: G:\SteamLibrary\steamapps\common\TheLongDark\MelonLoader\Dependencies\SupportModules\Il2Cpp.dll [02:41:16.238] Registered mono type ModSettings.ModSettingsGUI in il2cpp domain [02:41:16.742] [ModComponent] Release Compilation [02:41:30.905] [ModComponent] Running Dependency Checks.. [02:41:32.140] [ModComponent] Panel_Crafting_Initialize [02:41:32.793] Building Mod Settings GUI [02:41:32.815] Registered mono type ModSettings.DescriptionHolder in il2cpp domain [02:41:32.831] Building Custom Mode GUI [02:41:32.834] Registered mono type ModSettings.CustomModeGUIBuilder+HinterlandSettingVisibilityListener in il2cpp domain [02:41:32.860] Done! Took 68 ms. Have a nice day! [02:41:34.676] [ModComponent] Registering pending sound banks. [02:41:51.612] Registered mono type ModSettings.SliderFixPatches+SliderBarDepthFixer in il2cpp domain [02:41:51.627] During invoking native->managed trampoline [02:41:51.635] During invoking native->managed trampoline [02:41:51.642] During invoking native->managed trampoline [02:41:51.649] During invoking native->managed trampoline [02:41:51.656] During invoking native->managed trampoline [02:41:51.663] During invoking native->managed trampoline [02:41:51.670] During invoking native->managed trampoline [02:41:51.678] During invoking native->managed trampoline [02:41:51.685] During invoking native->managed trampoline [02:41:51.691] During invoking native->managed trampoline [02:41:51.698] During invoking native->managed trampoline [02:41:51.706] During invoking native->managed trampoline [02:41:51.713] During invoking native->managed trampoline [02:41:51.721] During invoking native->managed trampoline [02:41:51.728] During invoking native->managed trampoline [02:41:51.736] During invoking native->managed trampoline [02:41:51.743] During invoking native->managed trampoline [02:41:51.750] During invoking native->managed trampoline [02:41:51.758] During invoking native->managed trampoline [02:41:51.764] During invoking native->managed trampoline [02:41:51.771] During invoking native->managed trampoline [02:41:51.778] During invoking native->managed trampoline [02:41:51.785] During invoking native->managed trampoline [02:41:51.792] During invoking native->managed trampoline [02:41:51.799] During invoking native->managed trampoline [02:41:51.806] During invoking native->managed trampoline [02:41:51.812] During invoking native->managed trampoline [02:41:51.820] During invoking native->managed trampoline [02:41:51.827] During invoking native->managed trampoline [02:41:51.834] During invoking native->managed trampoline [02:41:51.840] During invoking native->managed trampoline [02:41:51.846] During invoking native->managed trampoline [02:41:51.853] During invoking native->managed trampoline [02:41:51.858] During invoking native->managed trampoline [02:41:51.865] During invoking native->managed trampoline [02:41:51.872] During invoking native->managed trampoline [02:41:51.879] During invoking native->managed trampoline [02:41:51.886] During invoking native->managed trampoline [02:41:51.892] During invoking native->managed trampoline [02:41:51.899] During invoking native->managed trampoline [02:41:51.907] During invoking native->managed trampoline [02:41:51.913] During invoking native->managed trampoline [02:41:51.920] During invoking native->managed trampoline [02:41:51.929] During invoking native->managed trampoline [02:41:51.935] During invoking native->managed trampoline [02:41:51.942] During invoking native->managed trampoline [02:41:51.948] During invoking native->managed trampoline [02:41:51.955] During invoking native->managed trampoline [02:41:51.962] During invoking native->managed trampoline [02:41:51.969] During invoking native->managed trampoline [02:41:51.975] During invoking native->managed trampoline [02:41:51.984] During invoking native->managed trampoline [02:41:51.990] During invoking native->managed trampoline [02:41:51.997] During invoking native->managed trampoline [02:41:52.003] During invoking native->managed trampoline [02:41:52.011] During invoking native->managed trampoline [02:41:52.017] During invoking native->managed trampoline [02:41:52.025] During invoking native->managed trampoline [02:41:52.031] During invoking native->managed trampoline [02:41:52.038] During invoking native->managed trampoline [02:41:52.045] During invoking native->managed trampoline [02:41:52.053] During invoking native->managed trampoline [02:41:52.059] During invoking native->managed trampoline [02:41:52.067] During invoking native->managed trampoline [02:41:52.073] During invoking native->managed trampoline [02:41:52.080] During invoking native->managed trampoline [02:41:52.087] During invoking native->managed trampoline [02:41:52.094] During invoking native->managed trampoline [02:41:52.102] During invoking native->managed trampoline [02:41:52.108] During invoking native->managed trampoline [02:41:52.115] During invoking native->managed trampoline [02:41:52.122] During invoking native->managed trampoline [02:41:52.129] During invoking native->managed trampoline [02:41:52.136] During invoking native->managed trampoline [02:41:52.143] During invoking native->managed trampoline [02:41:52.150] During invoking native->managed trampoline [02:41:52.157] During invoking native->managed trampoline [02:41:52.167] During invoking native->managed trampoline [02:41:52.174] During invoking native->managed trampoline [02:41:52.180] During invoking native->managed trampoline [02:41:52.186] During invoking native->managed trampoline [02:41:52.192] During invoking native->managed trampoline [02:41:52.199] During invoking native->managed trampoline [02:41:52.205] During invoking native->managed trampoline [02:41:53.832] [ModComponent] Registering pending sound banks. [02:41:54.066] [GearSpawner] Spawning items for scene 'PrepperCacheE' ... [02:41:54.067] [GearSpawner] Could not find any spawn entries for 'preppercachee' [02:41:54.070] [GearSpawner] Spawned 'Pilgram' items for scene 'PrepperCacheE' in 1 ms

MelonLoader mentioned something about [Attempted to read or write protected memory]

Marsxxxxxxxx commented 7 months ago

Downgrade MelonLoader to v0.6.1 and fixed