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"

Blueprint's "Get Class Defaults" node not showing everything

Hi,I'm trying to use the new blueprint node "Get Class Defaults" But it seem to not show all the variable defined in my c++ class.

I have multiple blueprint character extenting a c++ class which containt a UTexture2D node :

  UPROPERTY(EditDefaultsOnly, BlueprintReadOnly)
     UTexture2D *characterIcon;

but it won't appear inside the BP node, I can access it if I spawn the blueprint, but not as a default value.


Product Version: UE 4.9
more ▼

asked Sep 10 '15 at 03:53 PM in Blueprint Scripting

avatar image

10 1 1 4

avatar image Gam3r Sep 22 '15 at 02:07 PM

Exact same problem :/. Guess it is a bug?

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

1 answer: sort voted first

Hello Epixerion,

I've looked into this issue that you are experiencing with the "Get Class Defaults" node, and I was able to reproduce your problem. It seems to be that only actor-derived objects (basically anything prefaced with a "U") don't appear on the node. It's not completely clear whether this is by design, or it is a bug, but I have gone ahead and entered a bug report, UE-21386.

Have a great day,

Sean Flint

more ▼

answered Sep 23 '15 at 02:21 PM

avatar image

Sean L ♦♦ STAFF
43.5k 485 152 443

avatar image Epixerion Sep 23 '15 at 04:04 PM

Thanks Flint, really looking ahead for this functionality to work!

avatar image Epixerion Nov 14 '15 at 01:20 AM

Hello, I though waiting for the 4.10 will fix the problem, and its look like nothing changed since, why can't we get UTexture* to be shown on the Get Class Defaults, but an UTexture* encapsulated inside an custom struct give a way to go around the problem ? alt text

is it still a unfixed bug or it's made on purpose ?

avatar image Sean L ♦♦ STAFF Nov 16 '15 at 01:23 PM


This behavior has been clarified to be by design. Take a look at the accepted answer of this post: https://answers.unrealengine.com/questions/294533/new-49-get-class-defaults-node-doesnt-have-all-the.html This explains the reasoning behind the node's behavior.

(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