In PIE, the NavLinkProxy's SmartLinkReached event does not fire

As of 4.13, when playing in the Editor, SmartLinkReached events no longer fire when a Pawn navigates using the SmartLink. The events do fire in Standalone play.

I have verified in the Engine that UNavLinkCustomComponent::OnLinkMoveStarted() is being correctly called, demonstrating that the SmartLink is being used in PIE. However, unlike 4.12, the delegate OnMoveReachedLink is unbound when pathfinding occurs. The NavLinkProxy does bind to this delegate, but the delegate state is later cleared (in PIE only).

Steps:

  1. Open ContentExamples → NavMesh.umap
  2. In the second room, modify the NavLinkProxy actor (NavLinkProxy1) to use a SmartLink, rather than the SimpleLink.
  3. Simulate the game, noting that the character runs off the edge of the ramp to confirm that the link is being used in the path.
  4. In the Level blueprint, grab a reference to NavLinkProxy1 and bind to the SmartLinkReached event
  5. In the event handler node, print a string or provide some other feedback that the event has fired.

Result:
In PIE, the event does not fire. In Standalone, it does.

Additional notes:
Setting a data break point on the OnMoveReachedLink delegate of NavLinkProxy’s SmartLinkComp reveals that the delegate is being Unbound as a result of UEditorEngine::CreatePIEWorldByDuplication(). The delegate is unbound during duplication and is not rebound afterward.

Hello,

I was able to reproduce the issue and have entered a bug report: Unreal Engine Issues and Bug Tracker (UE-36194)

Thank you for your report.

Have a great day

Got it. Thanks, Sean.

Have a great day.
–Kelson