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

**URL:** <https://forums.unrealengine.com/t/automatedperftesting-plugin-does-not-build-when-building-city-sample-in-ue5-5/2134722>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine, question\
**Created:** [November 19, 2024, 6:29am UTC](https://forums.unrealengine.com/t/automatedperftesting-plugin-does-not-build-when-building-city-sample-in-ue5-5/2134722 "2024-11-19T06:29:33Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![syui](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/syui/32/1010964_2.png) [@syui](https://forums.unrealengine.com/u/syui)\
**Post date:** [November 19, 2024, 6:29am UTC](https://forums.unrealengine.com/t/automatedperftesting-plugin-does-not-build-when-building-city-sample-in-ue5-5/2134722/1 "2024-11-19T06:29:33Z")

</div>

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.

```auto
[UE_5.5/Engine/Plugins/Performance/AutomatedPerfTesting/Build/Scripts/]
Not Found : AutomatedPerfTestConfig.cs , AutomatedPerfTestNode.cs

```

```auto
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

```auto
<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.

- [Unreal Engine 5.5 Release Notes | Unreal Engine 5.5 Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/unreal-engine/unreal-engine-5.5-release-notes)
- [AutomatedPerfTesting | Unreal Engine 5.5 Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/unreal-engine/API/Plugins/AutomatedPerfTesting)

---

<div class="post-metadata">

**Author:** ![syui](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/syui/32/1010964_2.png) [@syui](https://forums.unrealengine.com/u/syui)\
**Post date:** [November 19, 2024, 8:02am UTC](https://forums.unrealengine.com/t/automatedperftesting-plugin-does-not-build-when-building-city-sample-in-ue5-5/2134722/2 "2024-11-19T08:02:39Z")

</div>

> [@syui](#):
>
> Automation.csproj

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

- [https://www.unrealengine.com/en/ue-on-github](https://www.unrealengine.com/en/ue-on-github)
- [https://github.com/EpicGames/UnrealEngine/tree/release/Engine/Plugins/Performance/AutomatedPerfTesting/Build/Scripts](https://github.com/EpicGames/UnrealEngine/tree/release/Engine/Plugins/Performance/AutomatedPerfTesting/Build/Scripts)

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

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

```

---

<div class="post-metadata">

**Author:** ![2350lev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@2350lev](https://forums.unrealengine.com/u/2350lev)\
**Post date:** [November 29, 2024, 11:27am UTC](https://forums.unrealengine.com/t/automatedperftesting-plugin-does-not-build-when-building-city-sample-in-ue5-5/2134722/3 "2024-11-29T11:27:04Z")

</div>

Hi

I’ve used your solution

> [@UE5.5 - Package Empty project works / Package Matrix city 5.5 - SDK error](https://forums.unrealengine.com/t/ue5-5-package-empty-project-works-package-matrix-city-5-5-sdk-error/2152307/3):
>
> disabled FAB plugin 0.1 experimental (error: working to slow) copy hostfxr.dll to D:\Epic Games\UE\_5.5\Engine\Binaries\DotNET\UnrealBuildTool D:\Epic Games\UE\_5.5\Engine\Binaries\DotNET\AutomationTool I found this SOLUTION, but THEN I get NEW error NUGET =) login to github connect github and epic account download 3 files ([https://github.com/EpicGames/UnrealEngine/tree/release/Engine/Plugins/Performance/AutomatedPerfTesting/Build/Scripts](https://github.com/EpicGames/UnrealEngine/tree/release/Engine/Plugins/Performance/AutomatedPerfTesting/Build/Scripts)) TO D:\Epic Games\UE\_5.5\Engine\Plugins\Perfor…

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](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? =)

---

<div class="post-metadata">

**Author:** ![syui](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/syui/32/1010964_2.png) [@syui](https://forums.unrealengine.com/u/syui)\
**Post date:** [December 1, 2024, 10:46am UTC](https://forums.unrealengine.com/t/automatedperftesting-plugin-does-not-build-when-building-city-sample-in-ue5-5/2134722/5 "2024-12-01T10:46:22Z")

</div>

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.

 ![スクリーンショット 2024-12-01 194932](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/a/cfaac19a73fd96f6a7571c23164d59e705203136.png)

> **[Troubleshooting NuGet Package Restore in Visual Studio](https://learn.microsoft.com/en-us/nuget/consume-packages/package-restore-troubleshooting)**
>
> A description of common NuGet restore errors in Visual Studio and how to troubleshoot them.

---

<div class="post-metadata">

**Author:** ![2350lev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@2350lev](https://forums.unrealengine.com/u/2350lev)\
**Post date:** [December 5, 2024, 11:30am UTC](https://forums.unrealengine.com/t/automatedperftesting-plugin-does-not-build-when-building-city-sample-in-ue5-5/2134722/6 "2024-12-05T11:30:54Z")

</div>

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?

 ![VS components](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/7/3/573c83edf160f6f8a91ec38e11d7f7cb73f41589.jpeg)  
Which components do I also need ?

---

<div class="post-metadata">

**Author:** ![2350lev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@2350lev](https://forums.unrealengine.com/u/2350lev)\
**Post date:** [December 5, 2024, 11:38am UTC](https://forums.unrealengine.com/t/automatedperftesting-plugin-does-not-build-when-building-city-sample-in-ue5-5/2134722/7 "2024-12-05T11:38:25Z")

</div>

: 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

---

<div class="post-metadata">

**Author:** ![2350lev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@2350lev](https://forums.unrealengine.com/u/2350lev)\
**Post date:** [December 5, 2024, 10:46pm UTC](https://forums.unrealengine.com/t/automatedperftesting-plugin-does-not-build-when-building-city-sample-in-ue5-5/2134722/8 "2024-12-05T22:46:34Z")

</div>

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

 ![cs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/9/7/8976f7e1ed31aaa16613096f86a22d8da1ffdbf0.jpeg)

---

<div class="post-metadata">

**Author:** ![syui](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/syui/32/1010964_2.png) [@syui](https://forums.unrealengine.com/u/syui)\
**Post date:** [December 5, 2024, 11:23pm UTC](https://forums.unrealengine.com/t/automatedperftesting-plugin-does-not-build-when-building-city-sample-in-ue5-5/2134722/9 "2024-12-05T23:23:37Z")

</div>

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.

> [@Targets with a unique build environment cannot be built with an installed engine.](https://forums.unrealengine.com/t/targets-with-a-unique-build-environment-cannot-be-built-with-an-installed-engine/1353217/3):
>
> In the case of City Sample and UE 5.3.2 that line doesn’t exist in any .Target file and I even tried doing “BuildEnvironment = TargetBuildEnvironment.Shared;” in all .Target files and nothing changed, I still can’t generate the project files.

---

<div class="post-metadata">

**Author:** ![2350lev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@2350lev](https://forums.unrealengine.com/u/2350lev)\
**Post date:** [December 6, 2024, 9:30pm UTC](https://forums.unrealengine.com/t/automatedperftesting-plugin-does-not-build-when-building-city-sample-in-ue5-5/2134722/10 "2024-12-06T21:30:51Z")

</div>

You have heard right =)  
5.4 it’s a good idea to delete CitySampleCookedEditor.Target.cs  
MATRIX5.4 packaged SUCCESSFULLY 😃

1. 32GB RAM + 16GB PAGEFILE = CRASH  
32GB RAM + 32GB PAGEFILE = finished =)

2. There is not enough space on the disk. = CRASH

vault cache 5.4 100GB (can be deleted = download cache)  
project 5.4 100GB (= copy of vault cache + more)  
project cooked +100GB  
package 5.4 20GB  
UE5.4 40GB  
= 360 GB

Running AutomationTool…  
Using bundled DotNet SDK version: 6.0.302  
Starting AutomationTool…

BUILD SUCCESSFUL  
AutomationTool executed for 0h 27m 31s (3rd try)  
AutomationTool exiting with ExitCode=0 (Success)  
I think It took in summary about 1 hour in 3 tries on 12600k

minimum?? VS2022 components needed (maybe any other can be substracted =) )

 ![5.4 WORKING VISUAL COMPONENTS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/7/0/070f72092ae9ea0b4af8f3bb7510679710a4255c.jpeg)

Now I will try to package Matrix 5.5

Thanks for the tip for Matrix 5.4 =) 😉

---

<div class="post-metadata">

**Author:** ![2350lev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@2350lev](https://forums.unrealengine.com/u/2350lev)\
**Post date:** [December 7, 2024, 3:09pm UTC](https://forums.unrealengine.com/t/automatedperftesting-plugin-does-not-build-when-building-city-sample-in-ue5-5/2134722/11 "2024-12-07T15:09:34Z")

</div>

MATRIX 5.5 - I downloaded 3 files 1 by one from github again and now cooking is working 😃  
Installed win app development 10GB  
NET core 3.1

G:\EpicGames\UE\_5.5\Engine\Plugins\Performance\AutomatedPerfTesting\Build\Scripts  
├──AutomatedPerfTestConfig.cs  
├──AutomatedPerfTestInsightsReport.cs  
└──AutomatedPerfTestNode.cs

I clicked do not show this Warning again - SDK is not installed properly.

Packaging (Windows): Running AutomationTool…  
Packaging (Windows): Using bundled DotNet SDK version: 8.0.300  
Packaging (Windows): Starting AutomationTool…

Using Visual Studio 2022 14.38.33143 toolchain (G:\Visual Studio win11\2022\VC\Tools\MSVC\14.38.33130) and Windows 10.0.22621.0 SDK (G:\Windows SDK win11)

UnrealEditor exe is hovering around 17-20GB, memory commited 70/80 GB

\*\*\*\*\*\*\*\*\*\* ARCHIVE COMMAND COMPLETED \*\*\*\*\*\*\*\*\*\*  
Packaging (Windows): BuildCookRun time: 14228.29 s  
Packaging (Windows): BUILD SUCCESSFUL  
Packaging (Windows): AutomationTool executed for 3h 57m 16s  
Packaging (Windows): AutomationTool exiting with ExitCode=0 (Success)  
😃 😃 😃

I moved all 12+ ShaderCompilerWorker.exe from Ecores to POWER cores with Process Lasso on 12600k 32GB RAM

vault cache 5.5 100GB (can be deleted = download cache)  
project 5.5 100GB (= copy of vault cache + more)  
project cooked +100GB  
package 5.5 20GB  
UE5.5 40GB  
= 360 GB

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [January 6, 2025, 3:10pm UTC](https://forums.unrealengine.com/t/automatedperftesting-plugin-does-not-build-when-building-city-sample-in-ue5-5/2134722/12 "2025-01-06T15:10:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
