Hi, I’m currently working on generating PGO data for our Unreal project on Windows. However, I’ve encountered an issue during the .pgd file generation step. Here’s the process I’m following:
1. Compile the game with UBT using the following arguments:
-LTCG -ThinLTO -PGOProfile
2. Run the game using Gauntlet with a custom PGONode:
ClientRole.CommandLine += "-pgoprofile" ClientRole.CommandLine += "-ExecCmds=\"automation List;RunTests StartsWith:Plugin+StartsWith:_Game+StartsWith:Project.Functional Tests;Quit\""
3. After successful execution, ${PROJECT_NAME}!1.pgc is generated at ${PROJECT_ROOT}\Platforms\Windows\Build\PGO
4.Then I try to generate the .pgd file with pgomgr.exe:
${PROJECT_ROOT}\Saved\StagedBuilds\Windows\${PROJECT_NAME}\Binaries\Win64\pgomgr.exe /merge:1 *.pgc MyGame.pgd
But I receive the following error:
PGOMGR : fatal error PG0081: Unable to open file 'MyGame.pgd' for reading.
Any suggestions or guidance would be greatly appreciated. Am I missing a step here?