Description

Attempting to package a runtime plugin in 4.20 results in the following error:

 ERROR: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Unreal Projects\4.20\PluginTest\TestPlugin\HostProject\Plugins\TestPlugin\Intermediate\Build\Android\UE4\Development\TestPlugin\TestPlugin.precompiled'. 

Full log attached

Regression?: Yes
This did not occur in 4.19

Steps to Reproduce
  1. Create a new blank C++ project
  2. Create a new blank Plugin
  3. Edit the Plugin's .uplugin file to change it from a Development plugin to a Runtime plugin
  4. If before CL#4160105 (in //UE4/Release-4.20), remove the existing public/private includes in the plugin's build.cs file, otherwise skip this step
  5. Compile the plugin
  6. In the plugin's tab of the editor, use the Package button to attempt to package the plugin.
    Result: The packaging fails
    Expected: The packaging succeeds

Have Comments or More Details?

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

9
Login to Vote

Fixed
ComponentUE - Foundation - Cpp Tools - Plugin System
Affects Versions4.20
Target Fix4.20
Fix Commit4178751
Main Commit4202609
Release Commit4178751
CreatedJun 27, 2018
ResolvedJul 2, 2018
UpdatedSep 16, 2019
View Jira Issue