Crash in ANavLinkProxy::GetComponentsBoundingBox

If you turn a NavLinkProxy into a blueprint, and then compile it, you’ll crash in ANavLinkProxy::GetComponentsBoundingBox because SmartLinkComp is NULL.

I reproduced this in a clean 4.13.

  1. Created new 1st person project called “NavLinkCrash”
  2. Place a navmesh bounds volume
  3. In “search classes” bar picked “Nav Link Proxy”, dragged it into level (I tried to put it in the bounds volume - but I don’t think it matters)
  4. Clicked “Blueprint/Add Script” button to create a blueprint for it (left it with default name)
  5. Clicked “compile” for that blueprint - crash.

Appears to happen because when the blueprint is compiled and it replaces the object via “CopyPropertiesForUnrelatedObjects”, the SmartLinkComp doesn’t get set in FFindInstanceReferenceSubobjectHelper::Duplicate, so it converts to NULL afterwards.

The object is clearly intended to have a SmartLinkComp, so I don’t think guarding the “if” statement is sufficient, but I don’t know what should be done about it.

Thanks

Hey Alex,

I have been able to reproduce the crash, and have entered a ticket to be investigated by our developers: Unreal Engine Issues and Bug Tracker (UE-36486)

We will also follow up here when this issue receives a fix. Please let us know if you have any other questions about this issue, or would like to discuss how you may be able to fix this yourself.

Have a great day