Articy3ImporterForUnreal icon indicating copy to clipboard operation
Articy3ImporterForUnreal copied to clipboard

C++ fails to compile if the game's module name does not match the project name

Open jeremyabel opened this issue 3 years ago • 2 comments

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.

jeremyabel avatar Jan 17 '22 20:01 jeremyabel

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

christian-schildt avatar Jan 20 '22 10:01 christian-schildt

Any update on this? It has not been addressed yet in the lastest release of the plugin

jeremyabel avatar Nov 28 '22 18:11 jeremyabel