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"

Sphere Component in blueprint has nothing in details tab...

USphereComponent with a blueprint has nothing in its details tab....

 Axel = CreateDefaultSubobject<USphereComponent>(FName("Axel")); is the code...

The usphere component is in my blueprint but it has nothing in its details tab!

alt text

Product Version: UE 4.20
Tags:
spherecomp.jpg (134.5 kB)
more ▼

asked Feb 20 '19 at 09:34 PM in C++ Programming

avatar image

kurylo3d
469 46 83 108

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

1 answer: sort voted first

You need to add property specifier in order to access from BP. Modify your header file like this:

 UPROPERTY(VisibleAnywhere)
 USphereComponent* Axel;

Here's the documentation for property specifier: https://docs.unrealengine.com/en-US/Programming/UnrealArchitecture/Reference/Properties/Specifiers

more ▼

answered Feb 25 '19 at 06:12 PM

avatar image

madturtleGGinin
346 1 5 4

avatar image kurylo3d Feb 25 '19 at 07:26 PM

That actually wasnt the problem. It was a glitch... had to comment out anything that mentioned axel or wheel... recompile... then readd then recompile again.. then compile blueprint and save.. Otherwise it resets to details being empty again.. Its an odd bug, but after all those steps it worked fine..

avatar image 2Blink3 Jul 06 '19 at 05:02 PM

Did you get it to work? I am actually going through this udemy course as well and having this same problem at this point.

avatar image kurylo3d Jul 06 '19 at 05:12 PM

yes my solution is what your responding to.

avatar image madturtleGGinin Feb 26 '19 at 05:48 AM

I see. After seeing your description I remember it happened to me as well. What I did was creating a new Blueprint, as this bug doesn't seems to affect newly created file, then delete the old one and replace the reference.

If you can reproduce the issue you should definitely let Epic know.

(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