Description

GetPolysInBox should get only the polygons(FNavPoly) that are on the bounds of the box. However, there are cases where polygon data outside the bounds of the box is currently obtained. It gets polygons outside the boundaries of the same tile.

In the screenshot, should get polygon data only [D:2] , but also get polygons for [D:3] and [D:4].

Steps to Reproduce
  1. Open attached project with Visual Studio.
  2. Start PIE.

Then, it can see get polygon data via GetPolysInBox are outside the box.

In repro project, execute ARecastNavMesh::GetPolysInBox in Character's Tick function.

 

Result:

Get polygon data that are outside the box 

Expected:

Get polygon data that are only within the box.

 

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-91549 in the post.

0
Login to Vote

Unresolved
ComponentGameplay - AI
Affects Versions4.224.234.24
Target Fix4.26
CreatedApr 6, 2020
UpdatedApr 6, 2020