Build Task Error: Couldn't find target rules

This is the error message I get when I try to run the build task:

Using bundled DotNet SDK
Log file: C:\Users\User\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for ObstacleAssaultEditor (no existing makefile)
ERROR: Couldn’t find target rules file for target ‘ObstacleAssaultEditor’ in rules assembly ‘UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.
** Location: E:\Epic Games\UE_5.0\Engine\Intermediate\Build\BuildRules\UE5Rules.dll**
** Target rules found:**
The terminal process “C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command Engine\Build\BatchFiles\Build.bat ObstacleAssaultEditor Win64 Development -waitmutex” terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Screenshot:

Based on the workspace name you have your project located inside the Unreal Engine installation folder which changes how the build tasks are generated as it assumes you are using an engine built from source.

Simply move it outside of that into your user area.

Thank you very much. Simple fix.

I had a feeling putting my projects in that folder would come back to bite me :sweat_smile:

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