Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

Product Version: UE 4.10
more ▼

asked Feb 15 '16 at 11:04 AM in C++ Programming

avatar image

19 10 14 18

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello octafbr,

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.

more ▼

answered Feb 15 '16 at 01:37 PM

avatar image octafbr Feb 15 '16 at 03:07 PM

Wow then it's not very useable; to use VS just for the compiler seems like a big waste. Do you know of any of these alternatives that work well?

avatar image Matthew J Feb 15 '16 at 03:13 PM

While we can't officially endorse any certain programs, the one that I currently use at home for personal use is Visual Assist X by Whole Tomato Software. It is quite pricey by some standards but I haven't used any other alternatives personally so I could not vouch for any others.

avatar image virtual_nomak Feb 19 '16 at 01:37 PM

That looks neat! I wonder how big companies are working with UE, could they be using another compiler? I know for a fact that Epic uses VS and they fully support it.

avatar image Matthew J Feb 19 '16 at 01:50 PM

I would imagine that most companies invest in licenses for the alternatives. I personally use Visual Assist X and I also have it for work. A different compiler isn't necessary for this case.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question