[2.0.76] Incompatible mods report circular dependencies instead of incompatibility

We are aware of them, but do not have solutions that don't cause other issues. They go here in order not to take space in the main bug thread list.
front
Inserter
Inserter
Posts: 34
Joined: Tue Dec 03, 2024 4:54 pm
Contact:

[2.0.76] Incompatible mods report circular dependencies instead of incompatibility

Post by front »

Hello!

I got a report like this, for the Outer Rim, with this other paracelsin k2so compat mod that I am marking as incompatible.
05-31-2026, 16-27-03.png
05-31-2026, 16-27-03.png (17.01 KiB) Viewed 213 times
The circularity comes from me "depending" on this compat mod by marking it incompatible, xy's k2so and its nulls's fork optionally depending on me, then that compat mod depending on xy's mod.
I'm marking that mod incompatible, because the outer rim has a k2so compat layer for paracelsin already built in, so the second one is redundant and will cause problems. The "null's fork" exists for the same reason.

It should report the incompatibility between the outer rim and that paracelsin compat layer before reporting it as a circular dependency. This is not clear on what exactly is happening, and if the player knows the incompatibility then it becomes very easy to resolve.

This is also the same if I mark a mod with an optional dependency on mine as incompatible.
Last edited by front on Mon Jun 01, 2026 3:33 pm, edited 1 time in total.
Loewchen
Global Moderator
Global Moderator
Posts: 10789
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Incompatible mods report circular dependencies instead of incompatibility

Post by Loewchen »

Add the version of the game to the title please, see 3638.
front
Inserter
Inserter
Posts: 34
Joined: Tue Dec 03, 2024 4:54 pm
Contact:

Re: Incompatible mods report circular dependencies instead of incompatibility

Post by front »

Loewchen wrote: Sun May 31, 2026 9:41 pm Add the version of the game to the title please, see 3638.
Sorry, fixed.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16829
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.76] Incompatible mods report circular dependencies instead of incompatibility

Post by Rseding91 »

Thanks for the report. The current dependency system does not support this scenario and I don't see a simple solution to make it work. Incompatible dependencies require the mod that it is incompatible with have its dependencies resolved before the engine decides "ok, the mod is active and valid -> I must disable myself". However, as part of trying to resolve those dependencies it hits the circular requirement and fails.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Minor issues”