Search Issue Tracker

By Design

Votes

0

Found in

2021.3.23f1

2022.2.16f1

2023.1.0b14

2023.2.0a12

Issue ID

UUM-34059

Regression

No

Nav Mesh Agent/Area Mask set to "Everything" works incorrectly when generated by code

--

-

How to reproduce:
1. Open the user's attached project
2. Enter Play Mode
3. Right mouse click on the blue square in the Game Window

Expected results: The "Flying thing" GameObject walks over the blue square
Actual results: The "Flying thing" GameObject walks around the blue square

Reproducible with: 2021.3.23f1, 2022.2.16f1, 2023.1.0b14, 2023.2.0a12
Could not test with: 2020.3.47f1 (compilation errors in the Console window)

Reproducible on: Windows 10

  1. Resolution Note:

    There is no issue in the navigation system. The NavMeshAgent and everything else works correctly, as expected.
    The NavMesh Surface in the "Plane (Clone)" object has holes around the blue squares because it is configured to include only the "Default" layer meshes. In order for the agent to move over the blue squares the NavMeshSurface has to include both the "Default" and "Water" layers when it builds a NavMesh.

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.