When using Miniloaders with some other mods (most prominent offender seems to be the Advanced Furnaces 2 SpaceAgeFix mod), the game fails to load with an error message like this:
Failed to load mods: entity prototype "... some miniloader entity ending in -l..." (loader-1x1) collision_mask(Modifications: Miniloader (Redux)) must collide with entity prototype "... some entity ... " (loader-1x1) collision_mask(...).
This happens when the other mod does not declare collision with the transport_belt
layer. The default collision mask for loaders includes this and most custom loader should simply use the default.
Starting with version 0.10.2, there is now a startup switch (Sanitize non-Miniloader loader entities
) that tries to 'fix up' such loaders. It adds the transport_belt
layer to the collision mask of all configured loaders.
Note that this may break functionality of those other loaders. If that is the case, the mod and Miniloader are not compatible.
If you encounter this error, try enabling this setting first. It has no permanent effect on the game; if it breaks another mod, simply uncheck it again.
To enable this setting, when the game fails to start:
- first disable the other mod that causes the problem. Keep Miniloader enabled
- set the startup setting
- re-enable the other mod