Visual Studio Intellisense issue, everything is undefined

Hello, I have an issue where the code in my project compiles fine, but everything is labelled as “error” or “undefined” by Intellisense.

This issue happened initially with visual studio 2017. I tried to solve the problem by following the instructions to install visual studio 2022 with Unreal development features, and installed the UnrealVS extension.

I have also followed the troubleshooting guide for this issue on github, which includes clearing visual-studio-related files, regenerating them, rebuilding the project, etc.(Removing red squiggles (Intellisense errors) for Unreal Engine · GitHub)

I can’t troubleshoot real errors because they are lost in a sea of false errors. Any help is appreciated!

Someone please help, I have been searching online and trying myself to solve this issue and haven’t made any progress. I need the ability to code in C++ to continue my project, this issue is driving me insane.

I think these errors about failing to open platform-specific source files are close to the root of the issue.

I finally got it working. I had to remove my code file from the project and re-make it through the tools drop-down in Unreal. I think the issue was that I had not used the Unreal editor to add a new code file after I properly installed Visual Studio with Unreal modules included.

The solution is to install Rider for Unreal:

Thanks for the suggestion, I’ve seen it elsewhere, but I’m still learning Unreal and don’t want to pay for a code editor. I also want to know how to solve these types of issues and become a better problem solver rather than sweep them under the rug.

1 Like

There is a 30 day free trial and if you’re a student I think you can get it for free: