x

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"

I'm confused with the errors in UE4++.

As the title says I am so confused whether these errors are real or just some kind of Pseudo-Error. If it's just a Pseudo-Error is there a way to fix this? As I get so confused because the code has a lot of errors but the game runs perfectly without showing some errors. I also wanted to know what causes these errors, if the errors is caused by the engine code, I will find a solution to fix the engine code as I have some experience with Software Engineering. But, I believe that these errors is caused by an underlying bug within the engine code.

alt text

Product Version: UE 4.13
Tags:
ue4_c++_error.jpg (254.4 kB)
more ▼

asked Nov 05 '16 at 07:05 AM in C++ Programming

avatar image

TheSteelJC
39 1 4 6

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

2 answers: sort voted first

UE4 uses many macros, and Intellisense is not particularly good at understanding all of them; those aren't errors, it's just Visual Studio trying to be helpful.

If your project compiles without errors, then your project is fine (aside from other logical problems, nullptrs, and other problems that don't throw compile errors).

As you work more with UE4 in VS you'll get a sense of when intellisense is just wrong and when it's actually telling you something important.

In general, when compiling, it's best to ignore the "Error" tab and rely on the "Output" tab to evaluate the results of your compile. The errors generated by VS are often misleading and, frankly, wrong.

more ▼

answered Nov 05 '16 at 11:39 AM

avatar image

GigasightMedia
1.7k 43 13 61

avatar image TheSteelJC Nov 06 '16 at 06:50 AM

Thanks for the answer It worked!

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

It's just Intellisense being slow with Unreal but do not despair as there are a couple of things you can do to fix this:

  • In Visual Studio Right-click in soloution explorer on your project > Properties > NMake > set additional options to '/Yu' for precompiled header files. ( This solved my issues )

  • Put your project on a SSD.

  • Use http://www.wholetomato.com/ Visual Assist. (there is a free trial but you'll have to pay eventually. It does speed up the intellisense though)

Hope this helps

more ▼

answered Nov 05 '16 at 03:09 PM

avatar image

InvertedIdeals
13 2 2 6

avatar image TheSteelJC Nov 06 '16 at 06:50 AM

Thanks for the answer It worked!

(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