Visual Studio 2015 Editor sees errors but the compiler doesn't
The editor finds extra errors, which in some cases make the code full of red underlines (even things like "NULL" is undefined). However, if I compile the code, the compiler finds everything and it works.
It's really frustrating to not know which of these errors are real errors and where it's just the editor not finding some definitions from the engine.
Does anyone have a solution for this? Visual Studio is amazing to work in, but this problem ruins it completely.
I found a temporary solution to this by chance. In VS I rebuilt the project in Development Editor, DebugGame Editor and a few others and then IntelliSense worked. For a while at least. Still hoping some better less temporary solution comes up.
These intellisense errors (the red underlines) are sometimes false positives when working with UE4. Due to some source code that does some things under the hood that intellisense can't see, it throws some unnecessary errors in where they shouldn't be. Unfortunately, this is a limitation of intellisense and the only way to avoid this problem would be to disable intellisense, which would also get rid of any benefits you were receiving from it. You also have the option of getting an alternative piece of software to replace intellisense, but most of these alternatives require a paid license.
answered Feb 15 '16 at 01:37 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here