hideCategories doesn't hide the categories for components

Hia guys!

I’m trying to use this type of thing:
UCLASS(hideCategories = (Rendering, Replication, Input, Actor, Base, Collision, Shape))

But I always end up with this:

While the categories for the object are hidden, it’s components are not. How can this be fixed?

Thanks!

Would this require a plugin to be made? Any ideas?

You tried some like:



UCLASS(hideCategories = (Rendering, Replication, Input, Actor, Base, Collision, Shape, OverlapCapsule))


or



UCLASS(hideCategories = (Rendering, Replication, Input, Actor, Base, Collision, Shape, "OverlapCapsule"))


or



UCLASS(hideCategories = (Rendering, Replication, Input, Actor, Base, Collision, Shape, "Shape|OverlapCapsule"))


?

You shouldn’t be seeing the component categories on the main actor anyway. Change the component UPROPERTY’s to read VisibleAnywhere, so they will only show when the component is selected, and not the actual actor.

You have to set the components UPROPERTY to “VisibleDefaultsOnly”, in my case they were set to “VisibleAnywhere” :slight_smile:
(You still need that HideCategories specifier tho)

Cheers