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"

[Possible bug] variable not visible in blueprint

I am declaring a variable in c++ like this:

 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Procedural") 
 TArray< UStaticMeshComponent* > Trees;

The variable is only visible in the "data only" blueprint, but not the full one. Is this intended or a bug? alt text

Product Version: UE 4.21
Tags:
more ▼

asked Aug 10 '19 at 03:31 PM in C++ Programming

avatar image

Tayk
0 2 4

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

2 answers: sort voted first

I deleted the folder .vs, binaries, Intermediate, Saved and .sln

Run the .uproject of your project. You will get a message and the message is YES. Once the editor is opened in File-> generate visual studio project and its variable should appear. currently I also experienced that kind of bugs

more ▼

answered Aug 10 '19 at 07:53 PM

avatar image

danielf94
173 5 8 9

avatar image Tayk Aug 10 '19 at 09:29 PM

This usually fixes many issues, sadly it's not working here.

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

have you tried to show inherited variables? This is how to do it: alt text

5d4f4d97216ff.png (101.8 kB)
more ▼

answered Aug 10 '19 at 11:06 PM

avatar image

MK217Q
1 1 1

avatar image Tayk Aug 11 '19 at 09:58 AM

Still not showing up. I can only see it in the data only bp and when dropped into the level

alt text

(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