Maritime Industry


Build island industry, survey remote resources, and automate ocean bulk shipping with industrial ports, bulk carriers, offshore oil and maritime power on an ocean-first archipelago world.

Content
a day ago
2.1
466
Transportation Logistics Trains Storage

g Compatibility: Maritime Industry Port Authority inherits an invalid Advanced Radar Network radar upgrade target

11 days ago

With Advanced Radar Network enabled alongside Maritime Industry, Factorio fails during startup with:

Failed to load mods: Error while running setup for entity prototype "mi-port-authority" (radar): next_upgrade target (arn_observation-radar-2) must have the same bounding box.

Environment:
-Factorio 2.1.24 (build 87808) with Space Age
-Advanced Radar Network 0.2.0
-Maritime Industry 1.1.1
-Maraxsis 1.40.26 (installed when the failure occurs, but no separate failing Maraxsis prototype has been demonstrated.)

Disabling Advanced Radar Network allows the pack to load successfully.

Technical details:

The resulting prototype has:

data.raw.radar["mi-port-authority"].next_upgrade = "arn_observation-radar-2"

An earlier inspection of the affected versions indicated that ARN adds this upgrade target to the vanilla radar. Maritime then copies that radar to create its Port Authority, retaining next_upgrade while changing the building’s dimensions.

The Port Authority has a 5×5 footprint, while Observation Radar II has a 2×2 footprint. Consequently, the inherited upgrade relationship fails Factorio’s prototype validation.

Possible resolution:

Maritime can clear next_upgrade when creating its Port Authority prototype, since the Port Authority should not upgrade into an observation radar:

port_authority.next_upgrade = nil

Alternatively, ARN could provide a compatibility adjustment that removes this unintended link from mi-port-authority after Maritime defines it, while preserving ARN’s intended radar upgrade chain.

This report comes from a larger modpack; a minimal reproduction with only ARN, Maritime, and their required dependencies has not been confirmed.

11 days ago

fixed

11 days ago

Awesome, thank you so much for the quick fix.

New response