After updating from UE5.4 to UE5.5, the connection to test devices stopped working when running tests via Gauntlet.
I’m using this command in a BuildGraph script:
RunUnreal -Project=E:/MyGame/MyGame.uproject -ScriptDir=E:/MyGame -Test=UE.TargetAutomation -RunTest=.Perf. -ReportExportPath=E:/MyGame/Saved/Tests -Build=E:/MyGame/build -Platform=SomeConsole -Configuration=Development -Device=SomeConsole:11.22.33.44 -Device=SomeConsole:55.66.77.88 -ResumeOnCriticalFailure
The logs show this error:
Not enough devices of type SomeConsole:SomeConsole:55.66.77.88 exist for test. (1 required, 0 available)
This led me to this commit:
https://github.com/EpicGames/UnrealEngine/commit/50e57f8d612ff98f9728eac2ae49c5b22c17837e
After debugging, I applied a hotfix by reverting changes in:
Engine/Source/Programs/AutomationTool/Gauntlet/Unreal/RunUnreal.cs
from:
TestContext.Constraint = new UnrealDeviceTargetConstraint(UnrealPlatform, PerfSpec, Model, DeviceName);
to:
TestContext.Constraint = new UnrealDeviceTargetConstraint(UnrealPlatform, PerfSpec, Model);
Question:
Is there a better way to fix this issue? Has this been reported as a known bug?