Plugin with 2 or more modules, 1 of which extending UObject
With UE 4.4, I have copied the example UPluginObject in a new empty project and simply changed its name. The plugin is named PluginName and the module ModuleName. I updated PluginName.uplugin, ModuleName.Build.cs, IModuleName.h, ModuleNamePrivatePCH.h, ModuleName.cpp, MyPluginObjectTest.cpp and MyPluginObjectTest.h accordingly. Apparently, the ModuleName module isn't generated :
Over the last week, I tried all I could think of to make it work. I have erased Intermediate and Binaries and regenerated VS files numerous times. I have tried using only the Public folder instead of Class/Private/Public. Using the same name for the plugin and the module.
I've been very careful to include the .generated.h and the UCLASS(), GENERATED_UCLASS_BODY() when extending UObject.
It built once with the name UPluginObjectTest for both plugin and module, but I haven't been able to reproduce that success. I have been able to extend that UPluginObjectTest plugin with new USomething derived class and it also work when I discard the Binaries or when I copy UPluginObjectTest module in another plugin. But for somereason changing UPluginObjectTest to another name doesn't work.
It also worked when I copied the Substance plugin in the installed Plugins folder. But when I change the plugin name and/or module names, I get the same IO error.
Finally I tried to convert from 4.4 to 4.5, and here we go again :
For the record, I'm a technical game designer, not a programmer. My goal here is to make a plugin with 2 modules, one that will provide with new asset types and functionalities and the other that will provide editor(s) for the new asset types.
So what do I miss?
asked Nov 07 '14 at 11:17 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here