AutomatedPerfTesting plugin does not build when building city-sample in ue5.5

I created a city sample project and built it with ue5.5. I can’t update the windows-sdk. It seems that the AutomatedPerfTesting plugin is the cause.

[UE_5.5/Engine/Plugins/Performance/AutomatedPerfTesting/Build/Scripts/]
Not Found : AutomatedPerfTestConfig.cs , AutomatedPerfTestNode.cs
Using bundled DotNet SDK version: 8.0.300

UATHelper: Installing SDK (Windows): C:\Users\syui\Documents\Unreal Projects\yui\Build\Scripts\CSC(0,0): error CS2001: Source file 'C:\Program Files\Epic\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestConfig.cs' was not found. (C:\Users\syui\Documents\Unreal Projects\yui\Build\Scripts\CitySample.Automation.csproj)
UATHelper: Installing SDK (Windows): C:\Users\syui\Documents\Unreal Projects\yui\Build\Scripts\CSC(0,0): error CS2001: Source file 'C:\Program Files\Epic\UE_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs' not found. (C:\Users\syui\Documents\Unreal Projects\yui\Build\Scripts\CitySample.Automation.csproj)
UATHelper: Installing SDK (Windows): Failed to build: C:\Users\syui\Documents\Unreal Projects\yui\Build\Scripts\CitySample.Automation.csproj

This is where the file is specified.

${project}/Build/Script/CitySample.Automation.csproj

<Project Sdk="Microsoft.NET.Sdk">
  <Import Project="CitySample.Automation.csproj.props" Condition="Exists('CitySample.Automation.csproj.props')"/>
  
  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="$(EngineDir)\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestConfig.cs" />
    <Compile Include="$(EngineDir)\Plugins\Performance\AutomatedPerfTesting\Build\Scripts\AutomatedPerfTestNode.cs" />
  </ItemGroup>

</Project>

AutomatedPerfTestin is a plugin added to 5.5, I am having trouble updating windows-sdk. The windows-sdk is the latest version that worked with 5.4.

Experimental release of Automated Perf Testing Plugin v0.1, providing Gauntlet Test Controllers, UAT Test Nodes, and BuildGraph macros for adding common automated performance tests to a project’s automated build and test.

I found a way. Go to github src and download the file.

# example
$(EngineDir) = C:\Program Files\Epic\UE_5.5\Engine

# copy file
$(EngineDir)\Plugins\Performance\AutomatedPerfTesting\Build\Scripts
    ├──AutomatedPerfTestConfig.cs
    ├──AutomatedPerfTestInsightsReport.cs
    └──AutomatedPerfTestNode.cs
1 Like

Hi

I’ve used your solution

Now I get NUGET error
UATHelper: Packaging (Windows): D:\Epic Games\UE_5.5\Engine\Source\Programs\Shared\EpicGames.IoHash\EpicGames.IoHash.csproj(0,0): error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. (D:\Unreal Projects\CitySample\Build\Scripts\CitySample.Automation.csproj)

Did you managed to package UE5.5 Matrix city demo?
How long did it took on your CPU?
I’ve researched NUGET error on the Inet, but didn’t find any working solution. Any ideas? =)

(post deleted by author)

Yes, I have successfully packaged the city sample this way.

I read your article. Your method was completely correct.

The first build takes 2-3 hours. Next time it will be reduced to about 30 minutes.

Are you still having this problem?
Maybe there is a problem with the windows sdk.

New error after 90 seconds. CS1225 invalid expresion
UE Editor goes from 22GB to 27GB and becames unresponsive on my 32GB RAM
How many RAM do you have? UE process in your PC is how big when packaging?


Which components do I also need ?

: error CS1002: ; expected
: error CS1525: Invalid expression term ‘<’
: error CS1525: Invalid expression term ‘/’
: error CS1525: Invalid expression term ‘<’
error CS1525: Invalid expression term ‘/’
error CS1525: Invalid expression term ‘<’
error CS1525: Invalid expression term ‘/’
error CS1733: Expected expression
error CS1002: ; expected

Still no luck =)
did it work for You out-of-the-box or you had to manually correct some syntax errors in some files?
neither UE5.4 and Matrix5.4 nor UE5.5 and Matrix5.5 work. I have downloaded them both. They Just report different errors, UE5.5 Editor has memory leak and exe goes to 27GB and becames unresponsive after 90 seconds reports error, UE5.4 exe stays at 6GB and reports error after 4 min

From what I’ve seen the windows sdk configuration is probably fine.
The memory is 32GB. The build was successful when I brought the files from github. Nothing else was done.
If the build fails when you can start it in the editor, there may be some kind of bug.
If the build fails even with ue5.4, this method cannot be used to resolve the issue.

I heard that for 5.4 it’s a good idea to delete CitySampleCookedEditor.Target.cs.