Description

[Link Removed]
The mesh in the repro project contains a transformed convex collision, which can be moved freely in the mesh editor, so the transform must be applied in following code block. (Also see TODO).

FORCEINLINE_DEBUGGABLE void ExportRigidBodyConvexElements(UBodySetup& BodySetup, TNavStatArray<float>& VertexBuffer, TNavStatArray<int32>& IndexBuffer,
	TNavStatArray<int32>& ShapeBuffer, FBox& UnrealBounds, const FTransform& LocalToWorld)
{
...
#elif WITH_CHAOS
		if (ConvexElem->GetChaosConvexMesh())
		{
			// TODO use ConvexElem->GetTransform?() transform?
//			ExportChaosConvexMesh(ConvexElem, LocalToWorld, VertexBuffer, IndexBuffer, UnrealBounds);
			ExportChaosConvexMesh(ConvexElem, ConvexElem->GetTransform() * LocalToWorld, VertexBuffer, IndexBuffer, UnrealBounds);
		}
#endif
	}
}
Steps to Reproduce
  1. Open attached project on UE5.0 [Link Removed]
  2. See navmesh in the level

Result

A navmesh is generated where no collision exists.
[Link Removed]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-150091 in the post.

1
Login to Vote

Fixed
ComponentUE - AI - Navigation
Affects Versions5.0
Target Fix5.1
Fix Commit21385823
Main Commit21385823
CreatedApr 25, 2022
ResolvedAug 16, 2022
UpdatedAug 22, 2022