I want to package my plugin for UE 4.20 and unreal cannot find Runnable.h? I’m really confused because when I compile this normally I get no compile errors, but when I go to package the plugin for use in other projects, it fails. Do I have to include a certain module in my plugin’s build.cs file? This plugin makes use of multi-threading and I need this feature.
Things I’ve tried: (And still no luck)
- Deleted Build, Binaries, Intermediate, Saved and .vs folders (Regenerate VS files and rebuilt binaries)
- Cleaned and rebuilt entire project from Visual Studio 17
- Copied the entire project onto a different drive and tried to package the plugin from there.
- Deleted the class and recreated it.
- Removed
#include "Runnable.h"
(Gave me different error: Cannot open include file ‘RunnableThread.h’) - Rebuilt the plugin module.
- Used the ‘Object’ class template instead of the empty one. (File>New C++ Class>Show All Classes>Object)
Here is some information: (If you need some more context)
- I’m packaging this for Windows 64-bit in UE 4.20
- I used the empty class template by going to File>New C++ Class>Empty
- The error happens at line 5 in the header file (linked below).
- AutomationTool exiting with ExitCode=5
- I’m packaging this plugin from the editor by going to Edit>Plugins>(Selecting my plugin)>Package
- Log file
- Header file
Any idea on what’s going on?
Thanks in advance for your answers and help.