We have a plugin we implemented ourself to add the support for a specific input device. On our computers, the plugin is installed in the engine’s Plugins directory so we don’t have to install the plugin in each of our projects. Everything works correctly in the editor. But when we package our project, the plugin is not packaged with it as I would have expected it to be. And I find nothing in the plugin documentation about a specific setting or thing to do for it to be packaged. Is it expected and we have to ship the plugin separately of our game? It seems strange. If a project uses a plugin to function, I would have expected to be packaged automatically. No? (I’m just trying to understand what the expected workflow with plugin and packaging)
We also tried to add a directory Plugins with our plugin inside it on the machine we try to execute our game once packaged, but it does not work either.
I stepped back a bit and I tried to “Launch” my project instead of “Play”. It does not work either, it says that it’s missing my plugin. To make sure you fully understand what I’m doing: a colleague of mine created and compiled a plugin to add the support for a specific input device we are using. So on my machine, I have the binaries of the plugin installed in my engine’s plugin directory. When I try to launch or package the game, it says the plugin is not there. Is it an expected behaviour? (not copying the plugin dll)
After doing a bit of digging I found that this is a known issue (UE-4156) for content base projects. Currently only code based projects are supported when it comes to packaging out projects with plugins.
Here is a thread on our forums that has more information referencing this issue that you may find helpful.
Wow, given the number of the issue, it’s been a while, right? Any plan for the fix to be included in 4.8? That’s a pretty heavy limitation of plugins (if they can only be used in C++ projects). At least in the prototyping phase of a project where we do more things using Blueprints.
This is an issue that we would like to solve and implement as soon as possible. However, there is no definite time frame currently in place for the resolution of this issue. If there are updates made to the status of this issue, you will be able to find them on the thread provided in my post above.
Hello Rudy & Morph.
I tried to follow linked article that apply new c++ class in editor or switch to c++ project as i understand,but it doesn’t not work like this situation.
I tried to figure out unable to package with plugin.
i tried to edit plugins,engine build option (DefaultEngine.ini → [Plugins]
+EnabledPlugins=)