Over 400 errors in VS after updating VS

Hi all,

I hope someone can help me with this weird problem.
In short I got this flag message in Visual Studio with the notice to update VS, as Ben said it’s good to do this ones a while.
So while I was building my rooms I updated VS. After the update I could not compile my build through UE, and next to that I got over 400 errors in the scripts (in VS). After googling answers I “cleaned” and rebuild the VS code and it all worked again.

But the errors remain in the code. They all seem like no real errors (the code was perfect before) but I believe it just does not reconize the UE standard coding anymore. The errors only seem to persist in the Header cpp files. No errors in my own files (opendoor &position report).

Samples of .h files are:
function.h, corecrt_math.h, stdio.h, wchar.h, UnrealString.h, corecrt_wstdlib.h etc etc…

Sample Error descriptions are: "missing ;", “expected a ;”, “this declaration has no storage class or type specifier”, "Cannot open source file “initializer_list” … and many more.

In Sourcetree it tells me the following files are removed:
…\section_3\BuildingEscape.vs\BuildingEscape\v15\Solution.VC.db-shm
…\section_3\BuildingEscape.vs\BuildingEscape\v15\Solution.VC.db-wal

I do have these files in my folder:
".Browse.VC" (371MB)
".Solution.VC" (13MB)

I’m sorry to see nobody could help me. The solution in the end was pretty simple.

This problem is solved: I simply (backuped the project first) and then regenerated the Uproject files. After that rebuild in VS and all errors are gone. Also good to note that the “error list” screen is bullcrap and should not be taken serious as it is confused when using UE coding standards. If the output log is not showing any errors there is nothing wrong. Hope this helps someone with similar problems.

1 Like

Privacy & Terms