# UPROPERTY Category doesn't apply subcategories

**URL:** <https://forums.unrealengine.com/t/uproperty-category-doesnt-apply-subcategories/346558>\
**Category:** Getting Started & Setup\
**Tags:** UProperty, unreal-engine, bug-report, question\
**Created:** [February 6, 2016, 12:18am UTC](https://forums.unrealengine.com/t/uproperty-category-doesnt-apply-subcategories/346558 "2016-02-06T00:18:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Slayemin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slayemin](https://forums.unrealengine.com/u/Slayemin)\
**Post date:** [February 6, 2016, 12:18am UTC](https://forums.unrealengine.com/t/uproperty-category-doesnt-apply-subcategories/346558/1 "2016-02-06T00:18:06Z")

</div>

The documenation here says that in order to specify sub categories, you use the pipe operator “|”:  
[[https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Reference/Properties/Specifiers/Category/index.html](https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Reference/Properties/Specifiers/Category/index.html)][1]

However, when I follow the instructions, I don’t actually get the appropriate subcategory within my blueprint. Here is my C++ code:

```
/*The native body temperature for this creature*/
	UPROPERTY(BlueprintReadOnly, EditDefaultsOnly, Category = "Creature|Thermal")
		float BaseTemp = 100;
	
	/*This is the point at which this creature freezes solid*/
	UPROPERTY(BlueprintReadOnly, EditDefaultsOnly, Category = "Creature|Thermal")
		float FrozenTemp = 32;

	/*This is the temperature at which this creature combusts and takes fire damage over time.*/
	UPROPERTY(BlueprintReadOnly, EditDefaultsOnly, Category = "Creature|Thermal")
		float IgnitionTemp = 200;

```

Here is what I get within the blueprint:

 ![77499-bugreport.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/8/6/48684b6b564bb06e85825fb1a3707e56724aa4c2.png)

As you can see, the pipe operator is not being parsed, and is instead being included as a part of the string.

---

<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:** [February 8, 2016, 3:34pm UTC](https://forums.unrealengine.com/t/uproperty-category-doesnt-apply-subcategories/346558/2 "2016-02-08T15:34:16Z")

</div>

Hey -

There is certainly something happening here as the right-click menu for IgnitionTemp appears correctly (Creature/Thermal category) so it seems to only affect the name field. This is not surprising since everything between the pair of quotation marks is as a single string however I understand how it is causing confusion and we will investigate this bug (UE-26610).

Cheers

---

<div class="post-metadata">

**Author:** ![michaelzwm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@michaelzwm](https://forums.unrealengine.com/u/michaelzwm)\
**Post date:** [September 3, 2018, 2:27am UTC](https://forums.unrealengine.com/t/uproperty-category-doesnt-apply-subcategories/346558/3 "2018-09-03T02:27:51Z")

</div>

You should use ‘|’ as separator

---

<div class="post-metadata">

**Author:** ![michaelzwm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@michaelzwm](https://forums.unrealengine.com/u/michaelzwm)\
**Post date:** [September 3, 2018, 2:29am UTC](https://forums.unrealengine.com/t/uproperty-category-doesnt-apply-subcategories/346558/4 "2018-09-03T02:29:55Z")

</div>

Hi, You @, you should use ‘|’ as a separator.

```
 UPROPERTY(BlueprintReadOnly, EditDefaultsOnly, Category = "Creature\|Thermal")
     float BaseTemp = 100;

```

---

<div class="post-metadata">

**Author:** ![Fortytwoish](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fortytwoish](https://forums.unrealengine.com/u/Fortytwoish)\
**Post date:** [May 8, 2020, 9:37am UTC](https://forums.unrealengine.com/t/uproperty-category-doesnt-apply-subcategories/346558/5 "2020-05-08T09:37:54Z")

</div>

This seems to be an issue again in 4.25

Neither “TopCategory|Subcategory” nor “TopCategory|Subcategory” work - they show up as a single category with the slash as part of the name.
