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"

Visual studio showing almost 200 False Errors

I just updated my engine version for a project, and also installed VS2017 at the same time.

Since then, VS has populated the error list with almost 200 false errors. These are related to engine classes as well as the .generated.h files for my own classes.

The project compiles and runs fine, but it does mean I have to scroll right to the bottom of the list if I ever wanted to see what real errors VS can tell me about, which is rather frustrating.

Does anybody have any clues as to how to solve this? Thanks.

Product Version: UE 4.20
Tags:
more ▼

asked Jul 31 '18 at 03:20 PM in C++ Programming

avatar image

Greywacke
235 7 8 14

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

1 answer: sort voted first

It's a bug introduced in 4.20 (https://issues.unrealengine.com/issue/UE-62042)

In the meantime you can use the workaround I've posted here: https://answers.unrealengine.com/questions/810626/vs-cannot-find-generatedh-files.html

That will fix your projects generated.h files, but not the engine ones.

We have to wait until 4.20.2 hotfix release

more ▼

answered Jul 31 '18 at 10:23 PM

avatar image

Sveitar
1k 8 24 26

avatar image Greywacke Aug 01 '18 at 07:17 AM

Well, allegedly it's fixed, so now we just wait.

I'm not certain how this bug got into a release build, but so long as it's dealt with...

Thanks for pointing this out to both me and Epic.

avatar image MyFreshP Aug 24 '18 at 12:30 PM

4.20.2 is out. Is your issue resolved? I still can't compile. I asked a similar question here.

avatar image Sveitar Aug 24 '18 at 02:52 PM

Yes it is resolved. The issue never prevented me from compiling, it just made visual studio show fake errors but compiled fine. There must be another problem with your code.

(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