Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X

Votes

2

Found in

2020.3.41f1

2021.3.13f1

2022.1.22f1

2022.2.0b14

2023.1.0a18

2023.2.0a1

2023.3.0a3

6000.0.0b11

Issue ID

UUM-18593

Regression

No

Game Objects get stuck in an infinite loop when passing NavMesh surface nodes

--

-

Reproduction steps:
1. Open the user’s attached project
2. Enter the Play mode
3. Press the "LET’S FIGHT!" button
4. Click on “BASIC” button and click on the center of the map grid to place the "Basic Unit"
5. Press CTRL and Left Shift 2 times

Expected result: Units don’t get stuck
Actual result: Some units move back-and-forth around an intermediary position on their path (The console reports that units get stuck)

Reproducible with: 2020.3.41f1, 2021.3.13f1, 2022.1.22f1, 2022.2.0b14, 2023.1.0a18

Reproducible on: Windows 10

Comments (1)

  1. adriant

    Dec 06, 2023 22:22

    The NavMesh is split into tiles, which are displayed as a grid of white squares over the NavMesh.
    The issue described here happens when the agent moves right on the edge between two NavMesh tiles, or when it crosses a corner shared by multiple tiles.
    As a workaround, any measure that you take to make the agent not move precisely along the tile edge, or precisely through a tile corner, can help reduce the risk of encountering this issue. In some situations it helps if you move the NavMesh Surface object away from the world origin, and maybe rotate it slightly around the vertical axis before you build the NavMesh. This breaks the alignment between the NavMesh tiles and the world axes and it can reduce the chance of the agent to move along the tile edges.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.