# Strange blueprint struct names in C++ code (Blueprint and C++ structs differs)

**URL:** <https://forums.unrealengine.com/t/strange-blueprint-struct-names-in-c-code-blueprint-and-c-structs-differs/359483>\
**Category:** Editor Scripting\
**Tags:** property, ustruct, reflection, Structure, unreal-engine, question\
**Created:** [June 3, 2016, 9:23am UTC](https://forums.unrealengine.com/t/strange-blueprint-struct-names-in-c-code-blueprint-and-c-structs-differs/359483 "2016-06-03T09:23:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![broly](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@broly](https://forums.unrealengine.com/u/broly)\
**Post date:** [June 3, 2016, 9:23am UTC](https://forums.unrealengine.com/t/strange-blueprint-struct-names-in-c-code-blueprint-and-c-structs-differs/359483/1 "2016-06-03T09:23:09Z")

</div>

I passed blueprint structure to my method. I need to get all defined names of properties in this struct, so I’m iterating with `TFieldIterator` by this structure, and as I see all property names has a little strange names, such as `MyProp_16_C43D413D448CA1DC6F9EECA5ECE0DE4E`. But I need get normal name (without number and hex code) and I can’t split string by “_" symbols, because I need to use also `C++ USTRUCTS` (not only Blueprint) and in both situations I need use "_” symbol in special purposes.

Also I tried `FindPropertyByName`, but it’s not a chance.

Are there any ways to get **normal struct name**?

 ![93166-fname.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/b/54b4d8f9724b8589a008d9f03f5e0300e2456bd2.png)

---

<div class="post-metadata">

**Author:** ![liuwei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@liuwei](https://forums.unrealengine.com/u/liuwei)\
**Post date:** [September 10, 2017, 10:46am UTC](https://forums.unrealengine.com/t/strange-blueprint-struct-names-in-c-code-blueprint-and-c-structs-differs/359483/2 "2017-09-10T10:46:01Z")

</div>

Hi，do you find any solution for this issue? I have also got this problem.

---

<div class="post-metadata">

**Author:** ![broly](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@broly](https://forums.unrealengine.com/u/broly)\
**Post date:** [September 11, 2017, 8:43am UTC](https://forums.unrealengine.com/t/strange-blueprint-struct-names-in-c-code-blueprint-and-c-structs-differs/359483/3 "2017-09-11T08:43:22Z")

</div>

I found the solution for this.

I used `UField::GetDisplayNameText()` and converts `FText` result to `FString` ( `FText::ToString()` ). But I don’t know how this will behave in shipping build. This method returns an `FText` which used in localization system. Probably due to this it can be changed in some build types.

Be careful with this.
