Download

Problems with VSCode

Hello everyone, i’m trying to make my first c++ proyect in unreal, but i’m getting the following error when building an empty proyect in VSCode


> Executing task: Engine\Build\BatchFiles\Build.bat BatteryCollectorV2 Win64 Test "C:\Users\Marchin\Documents\Unreal Projects\BatteryCollectorV2\BatteryCollectorV2.uproject" -waitmutex<

Performing full C++ include scan (building a new target)
Creating makefile for BatteryCollectorV2 (no existing makefile)
ERROR: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Epic Games\UE_4.18\Engine\Source\Projects\BatteryCollectorV2\BatteryCollectorV2.uproject'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
at Tools.DotNETCommon.JsonObject.Read(FileReference File)
at UnrealBuildTool.ProjectDescriptor.FromFile(FileReference FileName)
at UnrealBuildTool.RulesCompiler.CreateProjectRulesAssembly(FileReference ProjectFileName)
at UnrealBuildTool.UEBuildTarget.CreateTarget(TargetDescriptor Desc, String] Arguments, Boolean bCompilingSingleFile)
at UnrealBuildTool.UnrealBuildTool.RunUBT(BuildConfiguration BuildConfiguration, String] Arguments, FileReference ProjectFile)
The terminal process terminated with exit code: 1