[2.0.77] Trouble updating mods with new dependencies

Post your bugs and problems so we can fix them.
SWeini
Long Handed Inserter
Long Handed Inserter
Posts: 87
Joined: Mon Apr 04, 2022 6:43 am
Contact:

[2.0.77] Trouble updating mods with new dependencies

Post by SWeini »

If you have "Automatically enable new mods" disabled, the process of updating mods can lead to mods not loading correctly.

Scenario:
mod A 1.0 (installed and active)
mod A 2.0 (newer version available on mod portal)
mod B 1.0 (available on mod portal, was never installed before, required dependency added by mod A 2.0)

Actual behavior:
1. user goes to "Updates" tab, selects mod A and clicks "update"
2. mod A is updated to 2.0 and kept active
3. mod B is installed but not active
4. user clicks "confirm"
5. game restarts and can't load mods
6. user has to find the problem and solve it

This might technically be the correct behavior, because "Automatically enable new mods" is disabled, and mod B is a new mod. I'd still argue that in this case the user wanted to enable mod B. I always thought the setting is about the behavior when moving zip files into your mod folder manually, not about creating an invalid mod state after an user interaction.

Expected behavior (pick one, anything is better than failing game load on clicking "confirm"):
A. mod B is installed and silently activated
B. mod B is installed and activated and the user is informed about this fact
C. ask user to enable mod B
D. show warning when clicking "confirm"

This happened for real with mod A being sw-rates-calc-extreme 0.3.2 and mod B being sw-entity-tracker
https://mods.factorio.com/mod/sw-entity ... 02c528e2d0
Post Reply

Return to “Bug Reports”