C++ created components are missing properties

How come it that when I create a UCapsuleComponent from C++, alot of it’s properties are not shown in the Blueprint editor?

There is no “Use CCD” and many other properties are missing.
This is only the case when a component is created on the C++ side.
This is an example of some of the missing properties. This image is a Capsule Components physics section where it’s created from C++

191704-cplusplus.png

This is where I created the component via the BP editor. As you can see there are clear differences.

The C++ components are created this way:

	UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (AllowPrivateAccess = "true"))
	UCapsuleComponent *Capsule;

And in the constructor:

	Capsule = CreateDefaultSubobject<UCapsuleComponent>(TEXT("Capsule collider"));
	Capsule->SetupAttachment(Root);

What is going on?

Yes it looks a little different, I don’t know why though, it is the details tab.
Here is a video of it all.Youtube link

Thank you, that did it.

Thats the Correct way. I noticed the UI does look very different from the BP one. From where does it come from? Looks not like the Details Panel you get from when selecting the Component.

Ohh I See now use VisibleAnywhere, BlueprintReadOnly. Why did I not noticed that xD

And dont worry you can still edit everything except the Pointer of the Component itself.