Page 1 of 1
[2.0.7] Crash when clicking mod dependency not in filtered mod list (ModInfoPane::showModRelease)
Posted: Mon Oct 21, 2024 2:23 pm
by MBGames
When I view an installed mod in the in-game menu (/Mods/Manage/*) and click on a dependency, for example "Factory Planner" (v2.0.1) needs base>=2.0.7, I am redirected to the base-mod view.
If I, however, use the search function (I searched for "Factory Planner"), and I click on a dependency not in the filtered list, e.g. base>=2.07, the game crashes when looking for the base mod in /Mods/Explore, as it can't find it in the filtered /Mods/Manage list.
Re: [2.0.7] Crash when clicking mod dependency not in filtered mod list
Posted: Mon Oct 21, 2024 2:35 pm
by Rseding91
Thanks for the report. This is fixed for the next release.
Re: [2.0.7] Crash when clicking mod dependency not in filtered mod list
Posted: Mon Oct 21, 2024 8:54 pm
by MBGames
Thank you for the fast reply and I can't wait to play the expansion

Re: [2.0.7] Crash when clicking mod dependency not in filtered mod list (ModInfoPane::showModRelease)
Posted: Mon Oct 21, 2024 9:27 pm
by MBGames
As a software developer, I'd be interested to know the reason why this crash occures. I suspect base-mod can't be found in the filtered list, therefore the game looks it up on the mod-page.
Since base-mod is not published there, the response from the server is not handled properly when no mod can be found. Am I correct with this assumption?
Re: [2.0.7] Crash when clicking mod dependency not in filtered mod list (ModInfoPane::showModRelease)
Posted: Mon Oct 21, 2024 10:34 pm
by Rseding91
During the rework of the install-mods GUI for 2.0 into the explor-mods GUI some incorrect assumptions were made about fetching mod info from the server. Things which "might fail" were assumed to never fail and if they failed - such as this case - the game would crash instead of handle it gracefully.
Re: [2.0.7] Crash when clicking mod dependency not in filtered mod list (ModInfoPane::showModRelease)
Posted: Tue Oct 22, 2024 4:01 pm
by MBGames
FYI, after the fix the crash still occurs, but this time after clicking on it the second time.
Re: [2.0.7] Crash when clicking mod dependency not in filtered mod list (ModInfoPane::showModRelease)
Posted: Tue Oct 22, 2024 4:10 pm
by Rseding91
MBGames wrote: Tue Oct 22, 2024 4:01 pm
FYI, after the fix the crash still occurs, but this time after clicking on it the second time.
I missed one of the spots. It should be handled in 2.0.8 or 2.0.9, one of the upcoming releases.
Re: [2.0.7] Crash when clicking mod dependency not in filtered mod list (ModInfoPane::showModRelease)
Posted: Tue Oct 22, 2024 4:11 pm
by Loewchen
Post a new log then please.
Re: [2.0.7] Crash when clicking mod dependency not in filtered mod list (ModInfoPane::showModRelease)
Posted: Tue Oct 22, 2024 4:15 pm
by MBGames
Sorry missed that.