Why isn't GetPolyWallSegments alltitude accurate?

Hi there.

I’m seeing a divergence between Poly Wall Segments and NavMesh Edge debug rendering.
It seems the PolyWall Segments are simplified disregarding vertical accuracy, despite FRecastDebugGeometry::NavMeshEdges containing the proper vertices.
Is there a way to have altitude-accurate segments?

On the attached screenshot, you can see :

  • in Magenta, the NavMeshEdges from the debug geometry
  • in Red, the corresponding Poly Wall Segments obtained by GetPolyWallSegments

You can see the red wall segment along the wall should be cut in 2 to accomodate for the stairs.

Is that a bug, a feature? How can I get the proper result (magenta) from a single poly?

Thanks!