Description

NavLink Proxy CHILD ACTOR stops working in a Packaged and Standalone game. Works as expected in PIE.

Licensee Description:

Force Rebuild on Load is not called and the nav links as child actors do not work correctly.

Assuming I understand the issue corretly, if the nav data is not refreshed, nav link as child actors will not work in the packaged version of the game.

As a temporary work around I have created a seperate blueprint with a static mesh cube, that will turn its collision on and off before the game starts, manually forcing the nav mesh to rescan.

Using this work around for now is fine for us, since it is providing results, however a big downside is that forcing the rescan with a static mesh will only happen on that specific cell of the nav mesh. Any nav link child actor intersecting a different cell of the nav mesh will not be rescanned and will continue to work incorrectly.

Since our levels are quite large and we use nav links as child actors frequently (they are the basis for our door and stair classes) the true implementation of the workaround is to place a static mesh cube infront of every nav link child actor in the game, to ensure a rescan is called on all of them!

This is obviously a nightmare for performance and how manualy the fix is leaves a large margin for error. Ideally the same functionality of "Force Rebuild on Load" would work the same way in a packaged game as in the editor.

Alternativley if there was a way to in code or blueprints (perhaps console command?) to manually force a rebuild we could ensure this happens in our level set up and make it so for the packaged game.

Steps to Reproduce
  1. Open the attached test project
  2. PIE to see navlinks working as expected
  3. File > Package Project > Windows > Windows (64-bit)
  4. Once finished, open the packaged project

Results: The character using the NavLink Proxy CHILD ACTOR will no longer cross between the separated navmesh

Expected: For the NavLink Proxy CHILD ACTOR to work in all gameplay modes

Have Comments or More Details?

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

2
Login to Vote

Won't Fix
ComponentUE - AI
Affects Versions4.16.34.17.24.184.19
CreatedOct 5, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue