FSupportedAreaData is causing an unresolved linker error when it is used.

Steps to Reproduce
  1. Open the editor
  2. Create a new C++ Class based on AAbstractNavData (AMyAbstractNavData)
  3. Include Runtime/Engine/Classes/AI/Navigation/NavigationData.h and Runtime/Engine/Classes/AI/Navigation/NavAreas/NavArea_Default.h
  4. Declare a constructor
  5. In the .cpp, add the following:
    SupportedAreas.Add(FSupportedAreaData(UNavArea_Default::StaticClass(), null));
  6. Attempt to compile

Result: Unresolved linker error

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

Login to Vote

ComponentUE - AI
Affects Versions4.134.144.15
Target Fix4.15
Fix Commit3260593
Main Commit3389599
Release Commit3260593
CreatedJan 17, 2017
ResolvedJan 17, 2017
UpdatedApr 27, 2018
View Jira Issue