Description

The PreferredNavData member of NavAgentProperties isn't properly initialized. It is using some constructor that doesn't seem to be valid. This is a regression from 4.19.2 (CL-4033788) as this same setup packages with no errors. This can be worked around by connecting a "Make Soft Class Path" to the "Preferred Nav Data" pin thereby initializing the property manually

This issue was reported and tested in 4.20.2 (CL-4302132). It was reproduced in Main 4.21 (CL-4313833)

Steps to Reproduce
  1. Open the UE4 Editor and create a new Blank Template project
  2. Create an Actor Blueprint
  3. In the Actor Blueprint add the "Make NavAgentProperties" node and promote a variable off of the output
  4. Connect the new variable to BeginPlay then Compile and Save
  5. Open the Project Settings > Packaging
  6. Set "Blueprint Nativization Method" to Inclusive
  7. Package the project for Win 64

Results: Packaging fails with error C2039: 'StaticStruct': is not a member of 'FSoftClassPath'

Expected: Packaging is successful

Have Comments or More Details?

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

3
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions4.20.24.21
Target Fix4.21
Fix Commit4347635
Main Commit4736445
Release Commit4425194
CreatedAug 27, 2018
ResolvedSep 6, 2018
UpdatedJan 16, 2019
View Jira Issue