Nav Link Proxy SmartLink functionality doesn't work
In 4.8 previews 3 and 4 NavLinkProxy objects' SmartLink properties don't work. Neither the link nor the box obstacle are created when placed and Smart Link Is Relevant checked. Breakpoints in UNavLinkCustomComponent::GetNavigationData() are never hit, though the component does register and unregister. The NavLinkProxy's simple links all appear to behave correctly, though, and NavModifier volumes also work
asked May 28 '15 at 06:44 PM in Bug Reports
Ok I see what you are talking about now, I apologize for the previous confusion! This is a known issue and is in our system as UE-16448.
answered Jun 11 '15 at 03:57 PM
I have a partial fix I've found that may indicate where the deeper problem is. I had the output window up, which I'm totally doing more often now, and noticed I kept getting a message early on when the level loaded up saying "SmartLinkComponent could not be added to octree because parent (PositionComponent) is not in nav octree." My super quick fix was to implement GetNavigationParent() in NavLinkCustomComponent and have it always return nullptr. This forces it to always be added into the nav tree and voila, my links were working again, obstruction areas and all.
One caveat to this fix though is that it only works on cooked builds with nav mesh in different sublevels if Rebuild At Runtime is enabled. This is due to a separate issue that was reported a bit ago. In PIE mode though, or with all nav mesh and links in the main level, it appeared to work all the time. YMMV
Anyway, that's partially fixed that major problem for us, just posting here in case it helps anyone else.
answered Jun 25 '15 at 12:03 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here