Multiple Errors With Clean 5.7 & Visual Studio Setup

I have tried to start a c++ project with both visual studio 2022 and 2026 and I get the same errors with the PCH warning sometimes not appearing in 2026. If I enter the files with errors, even more errors will appear. I haven’t found anything that solves my problem and I’ve been at this for 12+ hours.

Edit 1: Seems like the Intellisense is kinda slow and dosent really suggest things either, so if i just ignore the errors I cant really work. I’m honestly on the edge of just completely giving up on UE…

Edit 2:
Just restarting unlocked another message, great! ”Browsing operations around this macro may fail. Consider adding it to a hint file.”

Hello there @E76MN!

Checking with my peers, the errors you are getting (IntelliSense PCH file not generated, template parameter not deduced, size of array greater than zero) are all tied to a conflict with PCH, IntelliSense, and the VS setup. Your code is most likely working as intended.

So, to pinpoint the exact cause, a full cache clear is your best bet. To do that, close both UE and VS, then go to your project’s main directory, and delete folders .vs and Intermediate. After that, locate your .uproject file, right click it and apply “Generate Visual Studio project files”.

After that, before restarting anything, please double-check that ALL components required for Visual Studio are installed and enabled in your setup, which can be seen in the following guide:

Once you checked all elements, restart both UE and VS, then test your setup again. If the issue persists, I would recommend rolling back to 5.6, as it’s the most stable version of the engine. 5.7 was released about a week ago, unexpected behaviours are still possible at this stage.

Thank you for your reply @brs-sebascova. I just deleted visual studio 2022 and did a complete re-install of visual studio 2026. I deleted and created a new project and had no luck.

The PCH warning is gone, but everything else persists.