Hidecategories are not saved when the editor is closed

Hi,

If I set this on a UCLASS :
hidecategories=(Object, Tags, Physics, PhysicsVolume,Input, Actor)

The categories are not hidden into the Editor (BLueprint default, or blueprint new editor panel etc…).

Thanks,

Hey -

What are you using for the parent class of your code class? I added hidecategories = (Object, Tags, Physics, PhysicsVolume, Input, Actor) to the UCLASS marco of an actor Class and the Input and Actor categories were both hidden (The others were not present even without “hidecategories”). Let me know if there is any other information you can think of that would help me reproduce what you’re seeing.

Cheers

hi,

here is my setup:
UCLASS(Blueprintable, hidecategories=(Object, Tags, Physics, PhysicsVolume,Input, Actor))
class AMyClass : public AActor

when I open a blueprint, it is showing the categorie. When I select an instance, on the left bottom panel of the editor it is showing the category.

That hide parameter was set after the blueprint was created, I didn’t test yet with a new one. May be a path to check.

Thanks,

Could you post a screenshot of your editor layout, pointing out where you’re seeing the category? If our layouts are different then we may be looking in different places.

Here are the screen shot from the BP Editor and the editor main screen:

33099-category2.png

33100-category.png

Hey -

Did you add a static mesh or other components to your code class? Creating a blueprint based on Actor itself does not show all of the categories listed in your screenshot. When I create a new blueprint from actor the categories listed are shown in the following screenshot:

33280-bpcategories.png

Yes I have components in my code class.
StaticMesh & Box components (for a trigger by example) are part of it.

thanks,

If you create a new code class based on actor and add the “HideCategories” information to the UCLASS macro, compile and create a blueprint from the new class do you see the same behavior? Also, if possible could you post the header and source for the code class you are seeing this bug for?

Hi ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

Hi,
Sorry for the late answer
To reproduce the issue:
Create a blueprint of your actor
Put it on your lebvel
Save and exit the editor
Change the C++ class to hide a new categroy
Open the editor
Select your BP and the Category will be not hidden.

I hope this will help to reproduce the issue.

Hey -

The key is that the HideCategories() property is not saved when the editor is closed. Adding HideCategories() and compiling while the editor is still open will force a hot reload and update properly but is reset after the editor is closed. I have created a bug report (UE-12230) for further investigation.

Cheers