Update.
As one of simple solutions - reinstall UE 5.3.2.
Also Visual Studio files regeneration may be required with .sln, .vs, Intermediate delete. And don’t forget make project backup
So, like @Alex_iceman and others have said, our options are to 1) download the source code for the unreal engine, fix their code, recompile it, then get on with the business of building our own game, or 2) to wait while downloading and reinstalling the older version of VS (a 5.5 GB download).
How is this acceptable? Why is the unreal engine written in such a way that updates to the IDE cause our own projects, which compiled before, to now fail to compile?
It happens from time to time. Usually small issues like this (a missed null check here, and a wrong param here) probably. My guess is that it’s slightly “bad” code that probably passes on old compilers but fails on newer compilers that have better safety checks.
Today I gave in and updated Visual Studio, only for the problem with Automation to appear for me as well. Right now I’m using Unreal Engine 5.3.2.
Instead of updating the code for the engine, I do suggest to simply rollback to a previous version of Visual Studio if the new version isn’t absolutely needed. It is way easier and takes less time.
That is if you don’t already are using a modified version of the engine, then just add the modifications to fix the problem.
Don’t get me wrong, it is a pain to fix issues like this, but how much are you paying Epic to use this engine? Oh that is right, nothing (well unless you make $1.000.000, but at that time you should buy their support package). If you want stuff like this to be fixed with the help of their team, you have the option to pay for their support. Also no one is forcing you to use this game engine. So until you are playing them, try to keep this kind of comments to yourself, and actually post stuff to help the community.
I haven’t had any luck with rolling back Visual Studio. I was on 17.8.3 and the only version I seem to be able to roll back to is 17.8.2, which I assume isn’t far back enough since it made no difference.
In case anyone (like me) thinks we can’t compile code… Unreal “compile button” works just fine. The only thing that is broken is building the project from visual studio…
Because I always build my projects pressing Cntrl + B in visual studio, I spent some time trying to fix this issue… while I could’ve kept working and use the compile button instead (until epic fix this problem)