# Switch on Enum losing enumeration names

**URL:** <https://forums.unrealengine.com/t/switch-on-enum-losing-enumeration-names/285281>\
**Category:** Platform & Builds\
**Tags:** Switch, enumeration, unreal-engine, bug-report, Blueprint, question\
**Created:** [June 7, 2014, 1:36pm UTC](https://forums.unrealengine.com/t/switch-on-enum-losing-enumeration-names/285281 "2014-06-07T13:36:51Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomofnz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tomofnz](https://forums.unrealengine.com/u/tomofnz)\
**Post date:** [June 7, 2014, 1:36pm UTC](https://forums.unrealengine.com/t/switch-on-enum-losing-enumeration-names/285281/1 "2014-06-07T13:36:51Z")

</div>

The entries in my enum asset called _ButtonStateSwap_ are _Up, Over, Pressed, Disabled_ and they show up as such when I place a **Switch on ButtonStateSwap**. When I go back to edit my graphs at intervals I notice that the usage of the switch reverts the names to _New Enumerator 01_ etc. as shown in the image attached. Things still work, but it kind of defeats the purpose. I could just use **Switch on Int** if I wanted to see numbers. This is puzzling me. Does anyone else get this?

 ![7965-capturenume.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/e/6aee5232e65839142f7da2f231a660893ce8802f.png)

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [June 7, 2014, 1:52pm UTC](https://forums.unrealengine.com/t/switch-on-enum-losing-enumeration-names/285281/2 "2014-06-07T13:52:03Z")

</div>

Look like it was not implemented, i +1 to do so 🙂

---

<div class="post-metadata">

**Author:** ![Zeustiak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zeustiak](https://forums.unrealengine.com/u/Zeustiak)\
**Post date:** [June 7, 2014, 1:52pm UTC](https://forums.unrealengine.com/t/switch-on-enum-losing-enumeration-names/285281/3 "2014-06-07T13:52:30Z")

</div>

I see this as well. Restarting the editor wipes the text displayed on enums in the graph. If you put the enum back on the graph it works again. At least until the next time you restart the editor… The correct names show if you open the Enum Asset itself.

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [June 7, 2014, 1:56pm UTC](https://forums.unrealengine.com/t/switch-on-enum-losing-enumeration-names/285281/4 "2014-06-07T13:56:59Z")

</div>

Ah so it’s a bug

---

<div class="post-metadata">

**Author:** ![ScottSpadea](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/scottspadea/32/1194682_2.png) [@ScottSpadea](https://forums.unrealengine.com/u/ScottSpadea)\
**Post date:** [June 7, 2014, 3:07pm UTC](https://forums.unrealengine.com/t/switch-on-enum-losing-enumeration-names/285281/5 "2014-06-07T15:07:21Z")

</div>

i think its a bug with 4.2 release, because the 4.2 preview didn’t have this problem.

but instead of deleting the node and replacing/rewiring it, you can right click the node and hit “refresh nodes” from the context menu.

---

<div class="post-metadata">

**Author:** ![Zeustiak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zeustiak](https://forums.unrealengine.com/u/Zeustiak)\
**Post date:** [June 8, 2014, 1:29am UTC](https://forums.unrealengine.com/t/switch-on-enum-losing-enumeration-names/285281/6 "2014-06-08T01:29:49Z")

</div>

Nice! I had forgotten you could do that. 🙂

---

<div class="post-metadata">

**Author:** ![Steve\_Allison](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Steve\_Allison](https://forums.unrealengine.com/u/Steve_Allison)\
**Post date:** [June 8, 2014, 6:49pm UTC](https://forums.unrealengine.com/t/switch-on-enum-losing-enumeration-names/285281/7 "2014-06-08T18:49:12Z")

</div>

Hey everyone,

Thanks for your information, we have reproduced this internally and a defect report has been filed to have this issue fixed. The workaround, as mentioned above, to fix the name values is to simply right-click on the Switch on Enum node and select Refresh Node. If there are any additional questions about this issue, please let us know.

Thanks!

-Steve

---

<div class="post-metadata">

**Author:** ![tomofnz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tomofnz](https://forums.unrealengine.com/u/tomofnz)\
**Post date:** [July 11, 2014, 1:00am UTC](https://forums.unrealengine.com/t/switch-on-enum-losing-enumeration-names/285281/8 "2014-07-11T01:00:25Z")

</div>

Hi  
This hasn’t been fixed in 4.3 Preview

---

<div class="post-metadata">

**Author:** ![Bert.Chang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bert.Chang](https://forums.unrealengine.com/u/Bert.Chang)\
**Post date:** [March 15, 2017, 11:26pm UTC](https://forums.unrealengine.com/t/switch-on-enum-losing-enumeration-names/285281/9 "2017-03-15T23:26:43Z")

</div>

This still happens in 4.15.

---

<div class="post-metadata">

**Author:** ![Syrill](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Syrill](https://forums.unrealengine.com/u/Syrill)\
**Post date:** [March 22, 2017, 10:32am UTC](https://forums.unrealengine.com/t/switch-on-enum-losing-enumeration-names/285281/10 "2017-03-22T10:32:40Z")

</div>

Also happens in my 4.15 …
