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"

Intellisense error: "TArray" has no member "Num"

I am getting the error listed above ("TArray" has no member "Num") with Intellisense, and am not sure why. It seems to be following my update to the newest VS (15.8.3). The code compiles and runs, but the red lines on the screen are annoying me and I don't know how to get them off. I am happy to post my code if that would help but it doesn't seem to be the issue.

Product Version: UE 4.19
more ▼

asked Sep 10 '18 at 11:54 PM in C++ Programming

avatar image

1 2 2

avatar image ZeroParadigm Sep 11 '18 at 11:19 PM

Please post code, whether you are building engine from source, and ide (VSCode, VSxxxx, etc.). It would help us to help you. =]

avatar image StaticJPL Oct 01 '18 at 09:33 PM

I am having this issue also I am gonna follow this thread and see if anyone has a solution to this. I am using the latest version on Unreal Engine

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

2 answers: sort voted first

I've solved this issue. Go to your project and delete these folders as follows.

  1. .vs

  2. Binaries

  3. Intermediate

  4. Saved

Close everything, VS, UE4 Editor etc.

Right click your .uproject and Generate Visual Studio Project files. Open your project rebuild it.

The intellisense for the TArray Class should be working normally allowing you to access the member functions properly.


more ▼

answered Oct 02 '18 at 05:27 AM

avatar image

21 1 3

avatar image RemRemRemRe Dec 17 '18 at 01:13 PM

Trim off the Binarires folder!

I am using git recovering this...

avatar image RemRemRemRe Dec 17 '18 at 01:17 PM

successfully revoveried and generated project file,

Thanks to Linus Benedict Torvalds, Thanks to git


avatar image RemRemRemRe Dec 17 '18 at 01:19 PM

Delete things above will make you lose: Book marks Pinned tabs etc...

avatar image The0cake Mar 14 '19 at 09:22 PM

Thanks, it helped

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

Surprised myarray.Num is valid. The error message indicates you are attempting to access a member of the class. I would expect


To be the correct syntax.

more ▼

answered Sep 12 '18 at 11:01 PM

avatar image

275 8 9 16

avatar image trapper_owl_88 Sep 14 '18 at 12:12 AM

You're correct, for some reason the parentheses got taken out of the title.

avatar image ChiefOfMischief Apr 05 '19 at 02:13 AM

Depending on the issue UE4 may not see anything wrong with some errors at compile time and only cause a crash once called. If you feel there is an issue but it compiles you should explicitly test it to ensure there is no problem.

(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