Description

The modules file that is generated when packaging a plugin appends a number to the end of the .dll reference, similar to hot reload modules. This causes the reference to refer to a nonexistent file. Attempting to open a project with this packaged plugin included prompts the user to recompile the plugin, due to the dll not being found.

Regression?: Yes
This did not occur in 4.21

Steps to Reproduce
  1. Create a new plugin (tested with a Blueprint Library plugin)
  2. Edit the .uplugin file to add the following to the module declaration (so it doesn't package for all platforms and ultimately fail): "WhitelistPlatforms": ["Win64"]
  3. Package the plugin to a directory of your choice
  4. Once the packaging completes, open the UE4Editor.modules file in the Binaries/Win64/ folder in Notepad
    Result: The line that points to the .dll has a number appended to the end, causing it to not point to the proper .dll
    Expected: The line that points to the .dll matches the .dll that is located in the same folder.

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentDevTools - Plugins
Affects Versions4.224.23
Target Fix4.22.1
Fix Commit5915309
Main Commit5915310
CreatedApr 8, 2019
ResolvedApr 16, 2019
UpdatedApr 23, 2019