x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

Product Version: UE 4.13
Tags:
more ▼

asked Sep 16 '16 at 10:45 PM in Bug Reports

avatar image

KGist
106 2 14 23

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hello,

I was able to reproduce the issue and have entered a bug report: https://issues.unrealengine.com/issue/UE-36194

Thank you for your report.

Have a great day

more ▼

answered Sep 20 '16 at 05:08 PM

avatar image

Sean L ♦♦ STAFF
43.9k 485 149 438

avatar image KGist Sep 20 '16 at 06:15 PM

Got it. Thanks, Sean.

Have a great day. --Kelson

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question