Will rolling back to an older version of the visual studio fix the error?
Which studio version do I need?
I have the exact same issue after upgrading today to Visual Studio 17.8.7 and unfortunately I donât know what version I had before in order to unroll to a safe one But stupid stuff like this is unacceptable!
I tried upgrading to the new 17.9 today but it made things worse, not better. I had to roll back, so I recommend avoiding 17.9.
Same issue here on Visual Studio Version 17.8.6.
The project began to compile after removing the studio and fresh installation.
VS 2022 - 17.8.6
Youâre the best, Man!
Just before some serious manipulations with reinstall, engine build etc - try next idea:
According to logs it doesnât like miss of Android files:
Binaries\DotNET\AutomationTool\AutomationScripts\Platforms\Android\ref\Android.Automation.dll
So, try to add Android files in Engine installation options:
This is really useful (last comment from @Alex_iceman). After modifying only the target platform Android, it finds the file.
Fix works also for Visual Studio 17.9!
Thank you so much!
Iâm just getting 1 error now:
Severity Code Description Project File Line Suppression State Details Error MSB3073 The command "..\..\Build\BatchFiles\Build.bat AutoRTFMTests Win64 Development -WaitMutex -FromMsBuild" exited with code 6. AutoRTFMTests C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets 44
Also 91 warnings for obsolete attributes.
I removed and then reinstalled Unreal 5.3.2, and now it is all okay.
Based on your comments Alex_iceman, I tried just running the installer of UE again and removing just the Android components was enough for this to start working for me without requiring a full Reinstall.
Thank you so much
Thank you this fixed the error for me using
5.3.2 and VS 2022 17.9.2 and yesterdays build.
I had the same error, fixed by removing this folder (no new build/rebuild of engine required)
- Engine\Plugins\Runtime\Database\ADOSupport\Intermediate\Build\Win64\UnrealEditor\Development\ADOSupport
I had to verify my installation via the launcher to get it working. Not sure how it got into such an oddly specific bad state where only the UAT BuildGraph command would fail (UAT Localize worked for example), but this fixed it for me.
This seems to have been fixed in 5.4 Preview.
There are new errors though
Of them, the
CS0103
in on the file C:\Program Files\Epic Games\UE_5.4\Engine\Source\Developer\LowLevelTestsRunner\LowLevelTestsRunner.Build.cs
. It seems the other errors are knock on effect of this error.
Do note, that I have been unable to install âVisual Studio Integration Toolsâ plugin for the Unreal Engine 5.4 preview as it doesnât support 5.4 preview yet so this issue might be due to that. If someone can build the plugin from source and checks if this issue disappears, that will give this problem a rest finally.
Had similar problems in 5.3. Turns out that it works if I choose Build > Build [MyProject] instead of Build Solution, or right-clicking my project and choosing Build. Just make sure the project is set to Startup Project.
Thanks men!
I faced the same issue with 5.3.2 and VS 17.8.4.
Steps I took to fix it:
- updated VS to the latest version
- verified the unreal engine installation
- cleaned up the generated project files
- rebuild the solution from the context menu option
- Rebuild the solution in rider
- started the editor from rider
After these steps I can package my game again.
Edit:
I did not had to fix any engine files or something