I developed a plugin with the UE4 source code. And I copyied the folder of plugin to the plugin folder of the UE4.9.1 release version.Then I got the following problem. Could anyone help me?
I don’t want to appear to be a donkey here, but, have you compiled the code with the 4.9.1 branch?
The reason I ask, is I have no doubt that the modules that load the plugins are looking for something, that has to be present in the code prior to the actual loader starting, immediately after, or at some point, and is dumping this message because what ever the engine is looking for it’s not finding.
This definitely happens with blueprints, and I see no reason why Epic wouldn’t protect the engine as well in terms of loading external code, outside of their control. I sure as heck know I would.
Just my thoughts,
Have a great day!
I compiled the code with the 4.9.1 branch.
I copyied the version.h file in the “Engine\Source\Runtime\Launch\Resources” folder,then I compiled the plugin.It words.
// the release version
#define ENGINE_MAJOR_VERSION 4
#define ENGINE_MINOR_VERSION 9
#define ENGINE_PATCH_VERSION 1
#define ENGINE_VERSION 2689999
#define ENGINE_IS_LICENSEE_VERSION 0
#define ENGINE_IS_PROMOTED_BUILD (ENGINE_VERSION > 0)
#define BUILT_FROM_CHANGELIST 2689999
#define BRANCH_NAME “++depot+UE4-Releases+4.9”
//the source code
#define ENGINE_MAJOR_VERSION 4
#define ENGINE_MINOR_VERSION 9
#define ENGINE_PATCH_VERSION 1
#define ENGINE_VERSION 0
#define ENGINE_IS_LICENSEE_VERSION 0
#define ENGINE_IS_PROMOTED_BUILD (ENGINE_VERSION > 0)
#define BUILT_FROM_CHANGELIST 0
#define BRANCH_NAME “++depot+UE4-Releases+4.9”
The define of ENGINE_VERSION and BUILT_FROM_CHANGELIST are different between the source code version and the release version.
the engine version of 2689999 is exactly what I have as well for UE4 version 4.9.1.
Hopefully that is the one being used by the compiler, I don’t think I would want the compiler to have access to the otgher one that you have listed there, where the version is 0, etc.
Hopefully someone from Epic will see this, and give some form of definitive answer.
What is the module that failed to load? Is it the plug-in DLL itself, or a dependency of the plug-in?
It’s plug-in DLL.I change the version.h file in the “Engine\Source\Runtime\Launch\Resources” folder.
It works.