# "Get display name" not same after packing

**URL:** <https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182>\
**Category:** Rendering\
**Tags:** object, get, unreal-engine, name, display, Blueprint, question\
**Created:** [January 15, 2016, 12:48pm UTC](https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182 "2016-01-15T12:48:43Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dane123](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dane123](https://forums.unrealengine.com/u/Dane123)\
**Post date:** [January 15, 2016, 12:48pm UTC](https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182/1 "2016-01-15T12:48:43Z")

</div>

In my blueprint project when I’m tring to loop through everything in my class “Movie Cam” and get the display name of all the items I do get the display name in Unreal Editor but after packing my project I’m getting the Object Name.  
I made a print in my loop to print both “Get Display Name” and “Get Object Name” and this is the result:

In editor:

![74608-editor.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/9/7a9920360c3049882fbe2973bebcb79ffe73b923.jpeg)

Packed project:

![74607-pack.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/0/df09510c9d36236912593dd083ed55f170aaacd3.jpeg)

As you can see, in the pakced version both Display and Object showes the same. I need it to be as it shows in the editor. Why is this happening?

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [January 15, 2016, 2:59pm UTC](https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182/2 "2016-01-15T14:59:59Z")

</div>

Hello Dane123,

If you hover over the Get display name you will see the tool tip that was posted below. This is working as intended, Get display name is not intended to be used in a packaged game. I hope that this information helps.

 ![66270-getdisplaynamewarning.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/f/37fc8f6da28893e18e1aa616e91725fd8368f20e.png)

Make it a great day

---

<div class="post-metadata">

**Author:** ![Dane123](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dane123](https://forums.unrealengine.com/u/Dane123)\
**Post date:** [January 15, 2016, 3:04pm UTC](https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182/3 "2016-01-15T15:04:58Z")

</div>

Ah, you’re right, thank you!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4230003f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4230003f](https://forums.unrealengine.com/u/anonymous_user_4230003f)\
**Post date:** [July 14, 2017, 1:22pm UTC](https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182/4 "2017-07-14T13:22:59Z")

</div>

This is all fine, but is there any way to _get the display name_, when the game is packaged?  
When I tried using the _get object name_ it yielded the same result as the _get display name_. So this means that these two nodes have the same functionality when the game is packaged.

Is there any other way to get the name of the object? It’s a very simple command that should be available in the engine.

---

<div class="post-metadata">

**Author:** ![AdrianTabacaru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AdrianTabacaru](https://forums.unrealengine.com/u/AdrianTabacaru)\
**Post date:** [April 22, 2020, 3:11pm UTC](https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182/5 "2020-04-22T15:11:13Z")

</div>

Hey guys, did you find a workaround for this?  
Please post it here.  
Thank you!

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [April 22, 2020, 3:19pm UTC](https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182/6 "2020-04-22T15:19:36Z")

</div>

This is working as intended. Give your objects proper identifiers, variables, indexes or tags.

---

<div class="post-metadata">

**Author:** ![emptyT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@emptyT](https://forums.unrealengine.com/u/emptyT)\
**Post date:** [November 17, 2021, 1:21pm UTC](https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182/7 "2021-11-17T13:21:37Z")

</div>

Is this the same for ‘Get Display Name’ (Class)? There is no tooltip warning on this.  
Also what about ‘Get Object Name’?

---

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [March 15, 2022, 2:56pm UTC](https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182/8 "2022-03-15T14:56:57Z")

</div>

this is annoying as hell  
what is the workaround for this ? tags ?

---

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [March 15, 2022, 2:57pm UTC](https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182/9 "2022-03-15T14:57:34Z")

</div>

identifiers ?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [March 15, 2022, 3:01pm UTC](https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182/10 "2022-03-15T15:01:13Z")

</div>

Tags, Gameplay Tags, Enumerators, int IDs, Names, use a [map](https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/Blueprints/UserGuide/Maps/).

---

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [March 15, 2022, 3:07pm UTC](https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182/11 "2022-03-15T15:07:38Z")

</div>

why a map ?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [March 15, 2022, 3:15pm UTC](https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182/12 "2022-03-15T15:15:31Z")

</div>

Map is a container. So you can associate the IDs with objects - it’s blazing fast. #nomoreloops 😉

---

<div class="post-metadata">

**Author:** ![slam.js](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@slam.js](https://forums.unrealengine.com/u/slam.js)\
**Post date:** [December 20, 2022, 11:40am UTC](https://forums.unrealengine.com/t/get-display-name-not-same-after-packing/344182/13 "2022-12-20T11:40:08Z")

</div>

class display name is always = label\_C so you can use it like this

 ![Screenshot_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/a/f/2af24c8c5e73ffccd3e557c052053aa33fe4c130.png)
