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"

C++ Derived Blueprint: Edit Inherited Component Properties?

The topic allready says it all. I made a class in C++, inherited a blueprint from it, and now I can't edit the properties of that component in the editor. They don't even show. It's just an ordinary (built-in) Sphere-Collision-Shape (USphereComponent) component.

I made a pointer to that component a UPROPERTY(EditAnywhere), but now I can set the component in the editor (which is totally not the point) and the properties are different from a component of the same type added in the blueprint editor... help?

Product Version: UE 4.10
Tags:
more ▼

asked Feb 02 '16 at 04:40 PM in Using UE4

avatar image

MaxPower42
643 67 82 117

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

3 answers: sort voted first

I get the same issue and can temporarily resolve the problem with the following steps.

1 Comment out the line, where I create the default subobject for the component, where I can not edit the properties

2 compile

3 Uncomment the line

4 compile

I have created a Bug Report here.

more ▼

answered Jun 29 '16 at 10:55 AM

avatar image

AllJonasNeeds
249 26 36 71

avatar image gozu Sep 28 '17 at 11:56 PM

Thank you for this fix!. Getting this problem here in 4.16.3 still...

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

so I beleive you have set the declaration in the private part of the header (as it should be) then just add the meta to allow private access like so

 PROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = Effects, meta = (AllowPrivateAccess = "true"))

more ▼

answered Sep 27 '18 at 12:35 PM

avatar image

TheDreamCatcher
263 2 4 6

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

I get the same issue too ,I also try "Comment out",but still not work for me.Finally I resolve the problem by "Rename".

1 Rename the component variable name in the class that use it.

2 compile

3 you'll see the Details panel of the component in the blueprint:)

more ▼

answered Sep 27 '18 at 09:12 AM

avatar image

zhuowl
1 1 2

avatar image gozu Sep 27 '18 at 09:20 AM

Been awhile since i saw this, but.... I think the issue might be with him setting it to "EditAnywhere" If its a component try setting to VisibleAnywhere or EditDefaultsOnly. example:

 /** audio component for engine sounds */
 UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = Effects)
 UAudioComponent* EngineAC;

avatar image zhuowl Sep 27 '18 at 09:25 AM

I have set VisibleAnywhere or EditDefaultsOnly before,but still have this 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