Articy3ImporterForUnreal
Articy3ImporterForUnreal copied to clipboard
C++ fails to compile if the game's module name does not match the project name
My game module's name is different than the project name, so modifications have to be made to the plugin to support this. Specifically I added a "GameModuleName" property to the plugin settings, and use that to replace all instances of FApp::GetProjectName()
. I set the default of the GameModuleName property to FApp:GetProjectName()
, but I'm not sure if there's a better way of getting the real game module name automatically without allowing the user to change it in the plugin settings. Additionally I adjusted the CodeFileGenerator::GetExportMacro()
function as well to use the GameModuleName config setting instead.
Hi jeremyabel,
Thanks for reporting this issue! We will have a look if there is a possibility to determine the module name automatically. Otherwise, we will implement a solution like yours.
Best Regards, Christian
Any update on this? It has not been addressed yet in the lastest release of the plugin