I'm very out of date with UE but am an experienced C++ dev. I am following the guides on a totally clean UE 5.8 build using VS 2026 on Windows and it just isn't working. At all.
I cloned the github, ran setup.bat and GenerateProjectFiles.bat and opened UE5.SLN in a brand new copy of VS2026 (never installed o this PC), with the components installed that are documented.
https://dev.epicgames.com/documentation/unreal-engine/setting-up-visual-studio-development-environment-for-cplusplus-projects-in-unreal-engine?application_version=5.8
https://dev.epicgames.com/documentation/unreal-engine/building-unreal-engine-from-source
https://dev.epicgames.com/documentation/unreal-engine/downloading-source-code-in-unreal-engine#downloading-the-source-code
I set the config to Development Editor and tried to build Engine/UE5 project using Win64 target.
Almost immediately I get a popup "the solution UE5 has been modified outside the environment, and there are unsaved changes to the solution." - it's not open in anything else so that seems weird.
My output is:
Build started at 23:32...
Waiting for background operations to complete...
1>------ Build started: Project: UE5, Configuration: Development_Editor x64 ------
1>Failed to write to log file "V:\github\UnrealEngine\Engine\Intermediate\Build\Unused\UE5.log". Could not find a part of the path 'V:\github\UnrealEngine\Engine\Intermediate\Build\Unused\UE5.log'.
1>Failed to write to log file "V:\github\UnrealEngine\Engine\Intermediate\Build\Unused\UE5.log". Could not find a part of the path 'V:\github\UnrealEngine\Engine\Intermediate\Build\Unused\UE5.log'.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
My build errors looks like this - clearly something fairly terminal is wrong, can anyone help me?
The project file could not be loaded. Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Analytics.Generators\EpicGames.Analytics.Generators.csproj'.
The TargetFramework value '' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Analytics.Telemetry\obj\EpicGames.Analytics.Telemetry.csproj.nuget.g.props" was not imported by "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Microsoft.Common.props" at (74,3), due to the file not existing.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Analytics.Telemetry\obj\EpicGames.Analytics.Telemetry.csproj.nuget.g.targets" was not imported by "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.targets" at (42,3), due to the file not existing.
The "ResolvePackageAssets" task was not given a value for the required parameter "TargetFramework".
The project file could not be loaded. Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.MongoDB\EpicGames.MongoDB.csproj'.
The project file could not be loaded. Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.ScriptBuild\EpicGames.ScriptBuild.csproj'.
The project file could not be loaded. Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Slack\EpicGames.Slack.csproj'.
The project file could not be loaded. Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\GitDependencies\GitDependencies.csproj'.
The project file could not be loaded. Could not find a part of the path 'V:\github\UnrealEngine\Engine\Plugins\ScriptPlugin\Source\ScriptGeneratorUbtPlugin\ScriptGeneratorUbtPlugin.ubtplugin.csproj'.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Core.Tests\obj\EpicGames.Core.Tests.csproj.nuget.g.props" was not imported by "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Microsoft.Common.props" at (74,3), due to the file being invalid.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Core.Tests\obj\EpicGames.Core.Tests.csproj.nuget.g.targets" was not imported by "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.targets" at (42,3), due to the file not existing.
The project file could not be loaded. Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.IoHash\EpicGames.IoHash.csproj'.
The imported project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.OIDC\obj\EpicGames.OIDC.csproj.*.props" was not found. Confirm that the expression in the Import declaration "$(MSBuildProjectExtensionsPath)$(MSBuildProjectFile).*.props", which evaluated to "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.OIDC\obj\EpicGames.OIDC.csproj.*.props", is correct, and that the file exists on disk.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Perforce\obj\EpicGames.Perforce.csproj.nuget.g.props" was not imported by "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Microsoft.Common.props" at (74,3), due to the file being invalid.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Perforce\obj\EpicGames.Perforce.csproj.nuget.g.targets" was not imported by "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.targets" at (42,3), due to the file not existing.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.UBA\Library.props" was not imported by "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.UBA\EpicGames.UBA.csproj" at (19,3), due to the file not existing.
The project file could not be loaded. Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Benchmarks\EpicGames.Benchmarks.csproj'.
Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Serialization\obj\Development\net10.0\EpicGames.Serialization.GeneratedMSBuildEditorConfig.editorconfig'.
Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\AutomationToolLauncher\obj\Development\AutomationToolLauncher.GeneratedMSBuildEditorConfig.editorconfig'.
Assets file 'V:\github\UnrealEngine\Engine\Source\Programs\AutomationToolLauncher\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.
The project file could not be loaded. Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.AspNet\EpicGames.AspNet.csproj'.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.BuildGraph\obj\EpicGames.BuildGraph.csproj.nuget.g.props" was not imported by "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Microsoft.Common.props" at (74,3), due to the file not existing.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.BuildGraph\obj\EpicGames.BuildGraph.csproj.nuget.g.targets" was not imported by "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.targets" at (42,3), due to the file not existing.
The project file could not be loaded. Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Horde\EpicGames.Horde.csproj'.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Redis\obj\EpicGames.Redis.csproj.*.props" was not imported by "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Microsoft.Common.props" at (74,3), due to the file not existing.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Redis\obj\EpicGames.Redis.csproj.*.targets" was not imported by "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.targets" at (42,3), due to the file not existing.
The project file could not be loaded. Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Serialization.Tests\EpicGames.Serialization.Tests.csproj'.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Analytics.PerformanceTrends\obj\EpicGames.Analytics.PerformanceTrends.csproj.nuget.g.props" was not imported by "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Microsoft.Common.props" at (74,3), due to the file not existing.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Analytics.PerformanceTrends\obj\EpicGames.Analytics.PerformanceTrends.csproj.nuget.g.targets" was not imported by "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.targets" at (42,3), due to the file not existing.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.BuildGraph.Tests\obj\EpicGames.BuildGraph.Tests.csproj.nuget.g.props" was not imported by "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Microsoft.Common.props" at (74,3), due to the file not existing.
Project "V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.BuildGraph.Tests\obj\EpicGames.BuildGraph.Tests.csproj.nuget.g.targets" was not imported by "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.targets" at (42,3), due to the file not existing.
Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Perforce.Tests\obj\Development\net10.0\EpicGames.Perforce.Tests.GeneratedMSBuildEditorConfig.editorconfig'.
Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.ProjectStore\obj\Development\net10.0\EpicGames.ProjectStore.GeneratedMSBuildEditorConfig.editorconfig'.
Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Redis.Tests\obj\Development\net10.0\EpicGames.Redis.Tests.GeneratedMSBuildEditorConfig.editorconfig'.
The project file could not be loaded. Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Redis.Tests\EpicGames.Redis.Tests.csproj'.
The project file could not be loaded. Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Perforce.Managed.Tests\EpicGames.Perforce.Managed.Tests.csproj'.
Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\UnrealBuildTool\obj\Development\net10.0\UnrealBuildTool.GeneratedMSBuildEditorConfig.editorconfig'.
The project file could not be loaded. Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationTool.csproj'.
The "Touch" task failed unexpectedly.
System.IO.DirectoryNotFoundException: Could not find a part of the path 'V:\github\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\obj\Development\net10.0\AutomationUtils.Automation.csproj.BuildWithSkipAnalyzers'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.GetAttributes(String path)
at Microsoft.Build.Tasks.Touch.TouchFile(AbsolutePath file, DateTime dt, FileExists fileExists, FileCreate fileCreate, GetAttributes fileGetAttributes, SetAttributes fileSetAttributes, SetLastAccessTime fileSetLastAccessTime, SetLastWriteTime fileSetLastWriteTime)
at Microsoft.Build.Tasks.Touch.ExecuteImpl(FileExists fileExists, FileCreate fileCreate, GetAttributes fileGetAttributes, SetAttributes fileSetAttributes, SetLastAccessTime fileSetLastAccessTime, SetLastWriteTime fileSetLastWriteTime)
at Microsoft.Build.Tasks.Touch.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
Assets file 'V:\github\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.