Unreal Engine 5 Preview 1 C++ VS Errors E0020 & E0070

Hi all, i just installed UE5 P1 and noticed some errors when creating a C++ project. In VS i get these errors (see attached). I did a fresh install of VS 2019 and 2022 but in both i get the same errors on all my projects. Even in a fresh new c++ project with no code added these errors show up. Any advice?

1 Like

UPDATE: I installed Rider as I was fed up with the slowness of the half working Intellisense of Visual Studio and this issue does not happen with this IDE.
Search for Rider Unreal Engine and you’ll find it. Once you have it :

Close your project in VS and Unreal. Open Rider and open your uproject with it.
It will do a bunch of stuff for first initialization and tell you you need to install RiderLink, do it.
Then you can build the solution from Rider and once it’s done you can click “Run” at the top from Rider still. This will launch Unreal and from there you can compile with CTRL+ALT+F11.
If you don’t launch Unreal from Rider you may have problems with Live Coding telling you about some existant executable problem. I don’t know if this is because I didn’t close Unreal before opening the project in Rider or what but it works this way at least. Maybe next time I won’t have to do this not sure.

Hi, I’m also getting something very similar, the project builds with CTRL+ALT+F11 and compiles correctly.

I’m having no issues in the editor but I think it’s kinda blowing up the intellisense in Visual Studio. I’m beginner so not sure about that.

Anyways I’d like to get rid of these errors which seem to come from files that are unrelated to my project.

I’m getting this with the latest UE 5.0 installed in mid April 2022.

Here is a screen capture, sorry it’s in French but it basically says the same thing as original poster screen capture.
image

Also if I click one of these, it takes me to the file and I start getting thousands of errors, a lot of them are related to not being able to find or open .h files such as “CoreMinimal.h”

me too ■■■■…any solution will be appreciated!

I am facing this issue too

I have same problem with UE5 and vs2019

I second the rider, I clean installed VS 2022 and 2019 with the same issues. I saw the rider suggestion and gave it a whirl and problems solved