Vehicles constantly search paths to unreachable buildings, using lots of CPU

Works as intended
NNNZYY [github] · 1 year ago

Issue description

When there are buildings that vehicles cannot reach, they will constantly search for directions, occupying a large amount of CPU.
Buildings in the red area are inaccessible to vehicles and cannot be tiled
At this point, additional performance consumption will occur

Reproduction steps

Buildings in the red area are inaccessible to vehicles and cannot be tiled
At this point, additional performance consumption will occur
Image

Image

Game version and build number

v0.7.2a

Operating system

Windows

Captain Filip Captain Filip · 1 year ago

Well, there isn't any better solution. The game must keep trying to path to places, as they might become unblocked. That's why when something is not accessible, the player is the one who needs to resolve it, either by unblocking it or preventing vehicles from trying to get there (e.g., disabling deliveries, setting up logistics zone, pausing construction + using Unity to finish it).

Closed as ☑️ Works as intended

5 Showing 1–2 of 2