Errors in VSCode and UE5

Keep getting this error when trying to run build task: win64 dev build.

ERROR: Couldn’t find target rules file for target ‘CryptRaiderEditor’ in rules assembly ‘UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.
Location: G:\UE_5.0\Engine\Intermediate\Build\BuildRules\UE5Rules.dll
Target rules found:
The terminal process “C:\WINDOWS\System32\cmd.exe /d /c Engine\Build\BatchFiles\Build.bat CryptRaiderEditor Win64 Development -waitmutex” terminated with exit code: 6.

UE is saying this:
ERROR: Unable to patch action graph - unexpected executable in compile action (C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\rc.exe)

I recently moved my project files out of the UE5 engine install directory and thats when the UE error started. The VSCode error has been like that since I started using it. Please help. IDK what else to do.

Have you tried refreshing the project first?

image

2 Likes