Just encountered this problem in 4.27. Here’s what I did to fix the problem.
- Pull engine source from github, switch branch to match the version of your engine install, and configure the project.
- In build target
AutomationScripts.Automation
, findBuildPluginCommand.Automation.cs
. This is the build script for packaging your plugin. - Search for
bVS2019
in code, alter to your liking. I just hardcoded it to true. - Compile this build target. This yields 5 shared libraries on my windows.
- Find your engine install, backup, and replace these libraries.
Now you can package the plugin from the editor, and it should work without extra hassle.