I have made some progress toward debugging the issue but have found no solution, I will try to correctly remember everything done since my response above.
TLDR UnrealEngine installation does not appear to be recognizing Windows as a valid support platform.
I’ve gone through and installed several more Virtual Studio components.
To confirm, I DO have currently installed all of the following components:
Workloads -
- .NET desktop development
- Desktop develtopment with C++
- Windows application development
- Game development with C++
Individual components -
- .NET Frameowrk 4.8 SDK
- .NET Framework 4.7.2 targeting pack
- C# and Visual Basic
- .NET Framework 4.8 targeting pack
- .Net Framework 4.6.2 targeting pack
- MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)
C++ CMake tools for Windows - Windows 10 SDK (10.0.18362.0)
- NuGet targets and build tasks
- Unreal Engine installer
- MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38-17.8)
* NOTE * after installing C++ CMake tools, I was able to open the project in VisualStudio via the UnrealEngine compilation error prompt diagbox. (I’m not sure if this component is listed in the UnrealEngine installation documentation and I just missed it. With my A.D.D., it’s not impossible.) Opening the project in VS from the UE error daig, confirms same error as UE error daig.
Re-running the command posted by tootzoe returned an error, I’m not sure if I made a typo but trying again this way:
cd "C:/Program Files/Epic Games/UE_5.5/Engine/Build/BatchFiles/"
Build.bat -Target="TestProjectEditor Win64 Development" -Project="path/to/project/.uproject" -WaitMutex -FromMsBuild -architecture=x64
once again confirmed the UE error diag.
The concurrent, remaining error is Platform Win64 is not a valid platform to build. Check that the SDK is installed properly and that you have the necessary platform support files (DataDrivenPlatformInfo.ini, SDK.json, etc).
Once again I verified that the correct Win 10 SDK (10.0.18362.0) is installed as VS component. I also verified the Windows directory “C:\Program Files (x86)\Windows Kits\10\Include” for the correct version (10.0.18362.0). Checking the output for Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows Kits\Installed Roots'
via powershell returned confirmation that Kitroot10 was using the afformentioned "C:\Program Files (x86)\Windows Kits\10".
At this point it appears that the issue is with UnrealEngine rather than with VisualStudio or my components installations.
The first thing I do is check Unreal Engine preferences, everything seems to be in order. I tested both the entries for Unreal Editor → Edit → Editor Preferences → General → Source Code as Visual Studio and Visual Studio 2022 with no change in behavior.
Checking the Epic Launcher’s Unreal Engine Options (Epic Launcher > Library > Unreal Engine 5.5.3 > Options), it appears that Windows is not even an option. So I checked "C:\Program Files\Epic Games\UE_5.5\Engine\Config\Platforms" and there was no Windows platform directory listed here, only some strange OS name I don’t recognize from anyhere.
At this point I tried running "C:\Program Files\Epic Games\UE_5.5\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe" -Mode=QueryTargets
to regenerate “C:\Program Files\Epic Games\UE_5.5\Engine\Intermediate\TargetInfo.json”
No change was observed to the Epic Launcher’s UE options, nor to any of the associated directories.
I have now uninstalled UE entirely and am reinstalling, but there appears some manual things I can try if a reinstallation is not successful; e.g., manually configured the C:\Users{$USER}\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml to include SDK parameters, but I have no idea if this line of troubleshooting holds any water.
Perhaps this issue needs to be elevated to a somewhat serious bug?