if using -GAME option of GenerateProjectFiles.bat, it does not work correctly by the following codes.
protected void AddProjectsForAllModules( List<FileReference> AllGames, Dictionary<FileReference, ProjectFile> ProgramProjects, List<ProjectFile> ModProjects, List<FileReference> AllModuleFiles, bool bGatherThirdPartySource )protected void AddProjectsForAllModules( List<FileReference> AllGames, Dictionary<FileReference, ProjectFile> ProgramProjects, List<ProjectFile> ModProjects, List<FileReference> AllModuleFiles, bool bGatherThirdPartySource ) { HashSet<ProjectFile> ProjectsWithPlugins = new HashSet<ProjectFile>(); foreach( FileReference CurModuleFile in AllModuleFiles ) { ... // check for engine, or platform extension engine folders if( !bIncludeEngineSource ) { if (CurModuleFile.IsUnderDirectory(UnrealBuildTool.EngineDirectory)) { // We were asked to exclude engine modules from the generated projects WantProjectFileForModule = false; break; ...
the codes was added by CL-12676637, but it should uses "continue;",not "break;"
expect : EngineTest.sln containes cpp files of Engine Test project
result : it does not contain them.
Request a info about UE-127172 bug tracker
How does TextureRenderTarget2D get TArray<uint8> type data?
How do I set a material as a post-processing material?
Why does the REMOVE method of map container remove elements have memory leaks?
How to delete some elements correctly when deleting an array loop?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-119537 in the post.
2 |
Component | UE - Foundation - Cpp Tools - UnrealBuildTool |
---|---|
Affects Versions | 4.26, 4.27 |
Target Fix | 4.27.2 |
Created | Jul 13, 2021 |
---|---|
Resolved | Oct 13, 2021 |
Updated | Dec 1, 2022 |