doombubbles / time-machine

Stores backups for BTD6 rounds as you play.
2 stars 0 forks source link

game crashes when attempting to load time-machine save in BTD6 v42.0 #7

Closed ublubu closed 7 months ago

ublubu commented 7 months ago

I disabled all mods except the Mod Helper and Time Machine and started a new run on one of the maps (normal gamemode). If I try to load any of the round saves, I get the loading screen and then the game crashes.

I'm guessing the latest BTD6 update broke something, but I haven't tried this mod with older game versions.

Here's my Melon Loader log. I didn't see any other obvious log files.

[12:08:52.476] ------------------------------
[12:08:52.499] MelonLoader v0.6.2 Open-Beta
[12:08:52.500] OS: Windows 10
[12:08:52.500] Hash Code: 2AD1478D8329B7784C949251EAF68C4C50E2FE9DA6CBB4BDF1DCD43E9026C63C
[12:08:52.500] ------------------------------
[12:08:52.500] Game Type: Il2cpp
[12:08:52.500] Game Arch: x64
[12:08:52.501] ------------------------------
[12:08:52.501] Core::BasePath = C:\Program Files (x86)\Steam\steamapps\common\BloonsTD6
[12:08:52.501] Game::BasePath = C:\Program Files (x86)\Steam\steamapps\common\BloonsTD6
[12:08:52.501] Game::DataPath = C:\Program Files (x86)\Steam\steamapps\common\BloonsTD6\BloonsTD6_Data
[12:08:52.501] Game::ApplicationPath = C:\Program Files (x86)\Steam\steamapps\common\BloonsTD6\BloonsTD6.exe
[12:08:52.501] Runtime Type: net6
[12:08:52.569] ------------------------------
[12:08:52.570] Game Name: BloonsTD6
[12:08:52.570] Game Developer: Ninja Kiwi
[12:08:52.571] Unity Version: 2022.3.20f1
[12:08:52.572] Game Version: UNKNOWN
[12:08:52.572] ------------------------------

[12:08:53.037] Preferences Loaded!

[12:08:53.180] Loading UserLibss from 'C:\Program Files (x86)\Steam\steamapps\common\BloonsTD6\UserLibs'...

[12:08:53.187] Loading Plugins from 'C:\Program Files (x86)\Steam\steamapps\common\BloonsTD6\Plugins'...
[12:08:53.189] 0 Plugins loaded.
[12:08:53.505] Loading Il2CppAssemblyGenerator...
[12:08:53.532] [Il2CppAssemblyGenerator] Contacting RemoteAPI...
[12:08:53.662] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null
[12:08:53.663] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null
[12:08:53.663] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null
[12:08:53.664] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null
[12:08:53.670] [Il2CppAssemblyGenerator] Using Dumper Version: 2022.1.0-pre-release.13
[12:08:53.670] [Il2CppAssemblyGenerator] Using Il2CppInterop Version = 1.4.5
[12:08:53.671] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2022.3.20
[12:08:53.671] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null
[12:08:53.672] [Il2CppAssemblyGenerator] Cpp2IL is up to date.
[12:08:53.672] [Il2CppAssemblyGenerator] UnityDependencies is up to date.
[12:08:53.672] [Il2CppAssemblyGenerator] Checking GameAssembly...
[12:08:53.773] [Il2CppAssemblyGenerator] Assembly is up to date. No Generation Needed.

[12:08:53.777] Loading Mods from 'C:\Program Files (x86)\Steam\steamapps\common\BloonsTD6\Mods'...
[12:08:53.779] ------------------------------
[12:08:53.821] Melon Assembly loaded: '.\Mods\Btd6ModHelper.dll'
[12:08:53.821] SHA256 Hash: '05bd9ee6cdb90a1310bcd8199060ee121fef9e9079f1fdbf24798505b80741b1'
[12:08:53.825] Melon Assembly loaded: '.\Mods\TimeMachine.dll'
[12:08:53.825] SHA256 Hash: '03adbd979831b9e2cb3e248d537732280cf7ee934135afc05385b48023057cb2'

[12:08:54.279] ------------------------------
[12:08:54.279] BloonsTD6 Mod Helper v3.1.18
[12:08:54.279] by Gurrenm4 and Doombubbles
[12:08:54.280] Assembly: Btd6ModHelper.dll
[12:08:54.280] ------------------------------
[12:08:54.285] ------------------------------
[12:08:54.285] Time Machine v1.0.5
[12:08:54.285] by doombubbles
[12:08:54.285] Assembly: TimeMachine.dll
[12:08:54.286] ------------------------------
[12:08:54.286] ------------------------------
[12:08:54.286] 2 Mods loaded.

[12:08:54.639] Class::Init signatures have been exhausted, using a substitute!
[12:08:54.655] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[12:08:54.678] Registered mono type MelonLoader.Support.MonoEnumeratorWrapper in il2cpp domain
[12:08:54.680] Registered mono type MelonLoader.Support.SM_Component in il2cpp domain
[12:08:54.685] Support Module Loaded: C:\Program Files (x86)\Steam\steamapps\common\BloonsTD6\MelonLoader\Dependencies\SupportModules\Il2Cpp.dll
[12:09:01.153] [BloonsTD6_Mod_Helper] Finished getting mods from github in background, found 282 mods over 4.7 seconds
[12:09:02.273] [BloonsTD6_Mod_Helper] Registering ModContent for BloonsTD6 Mod Helper...
[12:10:10.600] Preferences Saved!
ublubu commented 7 months ago

A change! After updating to BloonsTD6 Mod Helper v3.1.19, the game no longer crashes when I try to load a Time Machine save.

Instead, nothing happens at all. (doesn't show Time Machine save loading screen) Then if I exit the level and come back to it, I don't see a level save or Time Machine saves. (expectation: I would at least see the usual Continue Saved Game button.)

doombubbles commented 7 months ago

This should now be fixed with the latest version https://github.com/doombubbles/time-machine/releases/tag/1.0.6

ublubu commented 7 months ago

That was fast! I can confirm that I'm no longer running into the problems I described earlier.

Closing this ticket, thanks!