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.
- Created new 1st person project called “NavLinkCrash”
- Place a navmesh bounds volume
- 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)
- Clicked “Blueprint/Add Script” button to create a blueprint for it (left it with default name)
- 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