# Hidecategories are not saved when the editor is closed

**URL:** <https://forums.unrealengine.com/t/hidecategories-are-not-saved-when-the-editor-is-closed/309416>\
**Category:** C++\
**Tags:** unreal-engine, bug-report, CPP, question\
**Created:** [March 5, 2015, 4:30pm UTC](https://forums.unrealengine.com/t/hidecategories-are-not-saved-when-the-editor-is-closed/309416 "2015-03-05T16:30:17Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elvince](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elvince](https://forums.unrealengine.com/u/Elvince)\
**Post date:** [March 5, 2015, 4:30pm UTC](https://forums.unrealengine.com/t/hidecategories-are-not-saved-when-the-editor-is-closed/309416/1 "2015-03-05T16:30:17Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 6, 2015, 8:42pm UTC](https://forums.unrealengine.com/t/hidecategories-are-not-saved-when-the-editor-is-closed/309416/2 "2015-03-06T20:42:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Elvince](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elvince](https://forums.unrealengine.com/u/Elvince)\
**Post date:** [March 7, 2015, 7:37am UTC](https://forums.unrealengine.com/t/hidecategories-are-not-saved-when-the-editor-is-closed/309416/3 "2015-03-07T07:37:10Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 7, 2015, 3:44pm UTC](https://forums.unrealengine.com/t/hidecategories-are-not-saved-when-the-editor-is-closed/309416/4 "2015-03-07T15:44:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Elvince](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elvince](https://forums.unrealengine.com/u/Elvince)\
**Post date:** [March 8, 2015, 8:43pm UTC](https://forums.unrealengine.com/t/hidecategories-are-not-saved-when-the-editor-is-closed/309416/5 "2015-03-08T20:43:24Z")

</div>

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

![33099-category2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/3/c/93c069f5e765da3b1ce9849cf9a7053a4831946a.png)

---

<div class="post-metadata">

**Author:** ![Elvince](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elvince](https://forums.unrealengine.com/u/Elvince)\
**Post date:** [March 8, 2015, 8:43pm UTC](https://forums.unrealengine.com/t/hidecategories-are-not-saved-when-the-editor-is-closed/309416/6 "2015-03-08T20:43:45Z")

</div>

![33100-category.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/6/1/46154a859d3a6d2dbdc29bbb570cbc7698ca1c9e.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 9, 2015, 5:10pm UTC](https://forums.unrealengine.com/t/hidecategories-are-not-saved-when-the-editor-is-closed/309416/7 "2015-03-09T17:10:52Z")

</div>

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](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/3/6/e365a65d0f3de1d9a3a52171aaa74fa0343cc9f4.png)

---

<div class="post-metadata">

**Author:** ![Elvince](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elvince](https://forums.unrealengine.com/u/Elvince)\
**Post date:** [March 9, 2015, 5:15pm UTC](https://forums.unrealengine.com/t/hidecategories-are-not-saved-when-the-editor-is-closed/309416/8 "2015-03-09T17:15:17Z")

</div>

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

thanks,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 9, 2015, 6:18pm UTC](https://forums.unrealengine.com/t/hidecategories-are-not-saved-when-the-editor-is-closed/309416/9 "2015-03-09T18:18:02Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 16, 2015, 7:24pm UTC](https://forums.unrealengine.com/t/hidecategories-are-not-saved-when-the-editor-is-closed/309416/10 "2015-03-16T19:24:48Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Elvince](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elvince](https://forums.unrealengine.com/u/Elvince)\
**Post date:** [March 20, 2015, 11:31am UTC](https://forums.unrealengine.com/t/hidecategories-are-not-saved-when-the-editor-is-closed/309416/11 "2015-03-20T11:31:12Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 20, 2015, 4:25pm UTC](https://forums.unrealengine.com/t/hidecategories-are-not-saved-when-the-editor-is-closed/309416/12 "2015-03-20T16:25:14Z")

</div>

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
