Hot Reloading Game Modules
Recently I wanted to rename my UE project (which has C++ sources). As a lot of people seem to be having trouble renaming their projects, I chose a differen approach, in where I declared my previous PrimaryGameModule to be a normal GameModule and introduced a new PrimaryGameModule with the new name of my project. This way packaging the project correctly gerenates a .EXE with the new name.
However, I noticed, that hot reloading my now secondary game module does not work anymore. Since pretty much all of my code is in the secondary game module, it is really painful to restart the editor each time. When I check the list of modules currently loaded in the editor, I can find my new primary game module, as well as the secondary module. However, the "Unload" and "Reload" buttons are missing for the secondary module.
Is this a known issue/limitation of the Editor, or am I just doing something wrong? Apart from the hot reloading everything works perfectly with the new setup of using the previous primary module as a secondary module.
Edit: When I press the "Recompile" button, I get the following error in the console, if this is of any help:
Follow this question
Once you sign in you will be able to subscribe for any updates here