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"

Engine version 4.20.1 "broken" CPP template

When I try to make a new project using the 2D side scroller C++ template, i get a lot of intellisense errors in Visual Studio(Community 2017, v. 15.7.5). However, I am able to build the project. I also tested creating a project based on the same template using engine version 4.17.2 and everything works just fine.

Most of the errors are of the following type (in the Character.cpp file): alt text

I also get these errors in the character header files: alt text alt text

I've tried to delete the following files/folders from the project directory: .vs/, Saved/, ProjectName.sln, Intermediate/, Binaries/

And I've also clicked the 'Generate Visual Studio project files' after deleting the previously mentioned files/folders. The errors are still present.

Any help would be appreciated, thank you in advance.

Product Version: UE 4.20
Tags:
more ▼

asked Jul 29 '18 at 05:36 PM in C++ Programming

avatar image

EliasPa
89 22 22 23

avatar image гтгтгтгтгт Jul 31 '18 at 11:50 PM

I have the same.alt text

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

1 answer: sort voted first

This is a bug introduced in 4.20. It's already fixed and will ship with 4.20.2 hotfix (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

more ▼

answered Aug 01 '18 at 12:40 AM

avatar image

Sveitar
1k 8 24 28

avatar image EliasPa Aug 01 '18 at 07:41 PM

Thank you so much for the answer! I'm happy to see that the fix will be shipped soon.

P.S I left a question at that post.

(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