Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-170010

Villager Pathfinding Issue.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.0.22 Preview, 1.19.80, 1.19.81 Hotfix
    • Unconfirmed
    • Multiple

      The current bug in Minecraft involves a problem with the pathfinding algorithm for villagers. The issue occurs when villagers attempt to navigate to their designated workstations, leading them to pathfind through walls instead of finding an appropriate route. Additionally, villagers may repeatedly lose their jobs and continuously attempt to regain them, creating further disruption to gameplay.

      Steps to Reproduce:

      1. Launch Minecraft and create a new world or load an existing world.
      2. Spawn or locate a villager within the game.
      3. Set up a workstation for the villager, ensuring that there are nearby obstacles such as walls or buildings.
      4. Observe the villager's behavior as it attempts to navigate towards the workstation.
      5. Note the behavior of the villager when it loses its job and tries to regain it.

      Expected Behavior:

      1. The villager should exhibit appropriate pathfinding behavior, selecting a valid route to reach the workstation while taking obstacles into account.
      2. Once the villager has successfully reached the workstation, it should maintain its job and not continuously lose and reattempt to regain it.

      Actual Behavior:

      1. The villager incorrectly attempts to walk through walls or other obstacles in its path when trying to reach the assigned workstation.
      2. As a result of this faulty pathfinding, the villager may become stuck or repeatedly try to traverse the obstruction.
      3. Additionally, villagers may repeatedly lose their jobs and continuously attempt to regain them, leading to disrupted gameplay and a lack of stability in their assigned roles.

      Additional Information: To address the issue, players have resorted to using manual intervention, such as pushing the villager into a hole or guiding them directly to the workstation. However, even with these temporary workarounds, the villagers' job status remains unstable, and they may repeatedly lose and retry their jobs.

      This issue significantly impacts the gameplay experience, as villagers play a crucial role in various activities such as trading, farming, and other interactions. The broken pathfinding and continuous job loss disrupt the natural flow of gameplay and hinder the functionality of villagers as intended by the game design.

      Reproduction Rate: The issue occurs consistently and can be replicated in multiple Minecraft worlds, regardless of the version or platform. The bug appears to persist across various versions of the game.

      Expected Fix: It is recommended that the Minecraft development team investigates and addresses both the pathfinding issue and the problem with villagers repeatedly losing their jobs. The fix should involve modifying the pathfinding algorithm to accurately identify valid paths around obstacles and ensure that villagers navigate efficiently to their assigned workstations. Additionally, the job stability for villagers should be improved to prevent unnecessary job loss and reacquisition.

      Until a fix is implemented, players may continue to experience these bugs and rely on manual intervention to guide villagers to their workstations, as well as consistently monitor and reassign their jobs to prevent continuous job loss and job reacquisition.
      NOTE: This also happens with beds.

      Edit: Have been waiting 3 months for a fix. Please fix this issue.
      Its super annoying. And don't say the poi is to far away. because its only 7 blocks away from the wall. and my laptop cant play java. so I have to resort to bedrock edition.

      (MrRatatat)

            MrRatatat MrRatatat
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: