Description

Packaging a project will fail if a Blueprint is set to be nativized and that Blueprint is not included in a level.

REGRESSION:
Yes. The project packages successfully in 4.15.

Steps to Reproduce
  1. Create a new Blank Blueprint project.
  2. Add a new Actor Blueprint to the project.
    • Make sure the Blueprint is not added to any level.
  3. Open the Packaging Settings.
  4. Set the Blueprint Nativization Method to Exclusive.
  5. Click the arrow to show the Advanced settings in the Blueprints section.
  6. Add an element to the list of Blueprint assets to nativize.
  7. Set the new element to the Blueprint that was added in step 2.
  8. Package the project for Win64.

RESULT:
The packaging process fails and shows the following error: UnrealBuildTool: ERROR: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Unreal Projects\Current Issues\TestPackage3\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\NativizedAssets.uplugin'. The Plugins folder that is referenced in the error message does not exist in the project.

EXPECTED:
The project packages successfully, or a warning/error is shown that a Blueprint set to be nativized is not being used in the project.

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-43740 in the post.

0
Login to Vote

Fixed
ComponentGameplay - Blueprint Runtime
Affects Versions4.16
Target Fix4.16
Fix Commit3383860
Main Commit3431398
Release Commit3398013
CreatedApr 6, 2017
ResolvedApr 6, 2017
UpdatedOct 17, 2017