Skip to content

AutoDrive 3.0.1.2 - PathFinder repeatedly aborts after vehicle collision during combine unload #547

Description

@Peppobrasil

Hello,

I would like to report what appears to be a reproducible PathFinder issue in AutoDrive 3.0.1.2.

Environment

Farming Simulator 25
AutoDrive 3.0.1.2
Single Player
Zielonka map
Courseplay installed (however the issue also occurs when the combine is controlled by the GIANTS AI, so it does not appear to depend on Courseplay).

What happens

Everything works normally for some time.

At some point, during an unload operation, a tractor collides with an obstacle while trying to reach the combine.

From that moment on, the unload command starts failing repeatedly.

As a workaround, if I change the command to a normal "Drive To" destination, the vehicle reaches the destination correctly.

However, as soon as I switch the same vehicle back to Unload Combine, it reaches the field but fails again while trying to calculate the path to the combine.

Restarting Farming Simulator temporarily fixes the problem, but after some time the issue returns.

This behaviour is not limited to a specific field and eventually affects different vehicles.

Debug information

I enabled the PathFinder debug channel.

The log shows the following sequence repeatedly:

PathFinderModule:startPathPlanningToPipe
PathFinderModule:update - error - retryAllowed: no -> fallBackModeAllowed3: yes -> going fallback now -> disable avoid fruit
PFM:autoRestart start
PathFinderModule:update - error - retryAllowed: no -> fallBackModeAllowed: no -> aborting now
PFM:abort start

The interesting part is that "Drive To" still works correctly, while Unload Combine repeatedly aborts inside PathFinderModule.

There are no Lua errors in the log.

Could this be a PathFinder state/cache issue that is not fully reset after a collision during the unload routine?

If useful, I can provide:

complete log.txt
AutoDrive_config.xml
savegame
exact reproduction steps.

Thank you for your work on AutoDrive.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions