# Change name of the actor in the packaged game

**URL:** <https://forums.unrealengine.com/t/change-name-of-the-actor-in-the-packaged-game/1985677>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [August 21, 2024, 7:34am UTC](https://forums.unrealengine.com/t/change-name-of-the-actor-in-the-packaged-game/1985677 "2024-08-21T07:34:59Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Quetzalcodename](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Quetzalcodename](https://forums.unrealengine.com/u/Quetzalcodename)\
**Post date:** [August 23, 2024, 10:47am UTC](https://forums.unrealengine.com/t/change-name-of-the-actor-in-the-packaged-game/1985677/4 "2024-08-23T10:47:28Z")

</div>

Hey @Etyuhibosecyu,

It would be better to use a name variable or a tag than an object name as those can be changed. Check our this thread with a similar issue to yours with a solution:

> [@Get Object Name is different in package](https://forums.unrealengine.com/t/get-object-name-is-different-in-package/464090):
>
> Hello everyone! I’ve been flipping this upside down for a while and it still puzzles me. I’m using a LineTrace for objects that is checking what actor it hits. In this case, it hits the HandBP from the UVRF 2019 iNFINITE-CZ tutorial. It spawns two actors, HandBP0 and HandBP1. Using the Switch on String module for checking the Out hit component, everything is good while in the editor. The hit result is “HandBP\_C\_0” and “HandBP\_C\_1”. The problem is when I package this, the HandBP actors have a…

Let me know if this was the information you needed!

---

_[View the full topic](https://forums.unrealengine.com/t/change-name-of-the-actor-in-the-packaged-game/1985677)._
