Whenever I recompile my game code with the SGP targeting my game project, it will result in an error similar to this:
Test/Source/Test/Public/TestGameMode.h(4):
fatal error C1083: Cannot open include
file: ‘TestGameMode.generated.h’: No
such file or directory
What I do to accomplish this error is add “+ScriptSupportedModules=Test” to DefaultEngine.ini under “[Plugins]” in my UnrealHeaderTool config. Rebuild UHT and rebuild my game project.
Would anyone happen to know why this error occurs and how to fix it? I appreciate the help.