I’m trying to set up VS 2022 to build an existing project. I get these build errors, which I’ve heard is an ongoing issue with UE 5.3.2 and the latest VS:
- “27>G:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command “G:\Epic\UE_5.3\Engine\Build\BatchFiles\Build.bat WhistlePigEditor Win64 Development -Project=“G:\VelveteenCoyote\WhistlePig.uproject” -WaitMutex -FromMsBuild” exited with code 6. 27>Done building project “WhistlePig.vcxproj” – FAILED.”
“30>G:\Epic\UE_5.3\Engine\Source\Programs\AutomationTool\BuildGraph\BgScriptReader.cs(1640,37,1640,42): error CS8604: Possible null reference argument for parameter ‘other’ in ‘void HashSet.UnionWith(IEnumerable other)’. 30>Done building project “BuildGraph.Automation.csproj” – FAILED. 44>------ Build started: Project: Win.Automation, Configuration: Development Any CPU ------ 36>G:\Epic\UE_5.3\Engine\Source\Programs\AutomationTool\Scripts\CheckForHacks.cs(87,26,87,45): error CA2017: Number of parameters supplied in the logging message template do not match the number of named placeholders (CA2017: Parameter count mismatch (code analysis) - .NET | Microsoft Learn) 36>Done building project “AutomationScripts.Automation.csproj” – FAILED.”
This thread has more info on the issue, as well as some hacks to fix the problem when building from source. Unfortunately, building from source is not an option for me.
It would be great if I could install an older version of Visual Studio Community, but Microsoft has made it impossible for Community users to download anything other than latest, which is very frustrating.
How do I solve this problem right now? Does anybody know a way to download older VS Community versions? And when will the build issue be solved in general?
Thanks!