# Enum to String/Name/Text Conversion not working in Standalone

**URL:** <https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396>\
**Category:** Blueprint\
**Tags:** conversion, unreal-engine, bug-report, Blueprint, question\
**Created:** [April 17, 2015, 11:07am UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396 "2015-04-17T11:07:53Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![CelestialPanda](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CelestialPanda](https://forums.unrealengine.com/u/CelestialPanda)\
**Post date:** [April 17, 2015, 11:07am UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/1 "2015-04-17T11:07:53Z")

</div>

I have an Enumerator that is converted to String, and then to Text like so:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/8/ad836271396cfccfbc23028234e27b211e50c4a6.png) ](https://i.imgur.com/izaYWi5.png)

Which works when I run the game in editor as I want it to like this:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/7/8077e2ee136fb88642284c8026c4371c633a2816.png) ](https://i.imgur.com/t1TgUYp.png)

Problem is when I run the game as a Standalone (still from the editor, I’m not packaging or anything) the conversion screws up and shows this:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/a/3/9a39126ef8abce4fb60502871158b3ba7f1619c0.png) ](https://i.imgur.com/nx2vxmQ.png)

Conversions from Enum-\>Text and Enum-\>Name never give me the correct results, whether in Editor or Standalone.

---

<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:** [April 17, 2015, 3:32pm UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/2 "2015-04-17T15:32:34Z")

</div>

Hello CelestialPanda,

I was unable to reproduce this issue on our end. I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

1. What version of the engine are you using?
2. Can you reproduce this in a clean project?
3. If so, could you provide a detailed list of steps to reproduce this issue on our end?
4. Could you provide screen shots of any other blueprints that may be involved with this issue?

Here is my set up for the set that I ran:

This example worked in both PIE and Standalone mode. I am using a widget with a series of text blocks that I am setting in order to display the different bits of text. Could you get this set up a try and let me know if it works for you?

 ![39152-enumconverthelp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/d/9/0d9b8d7fe165236caf2b0bcbdfc0d597dc0d7eec.png)

---

<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:** [April 21, 2015, 4:04pm UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/3 "2015-04-21T16:04:52Z")

</div>

Hello CelestialPanda,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

---

<div class="post-metadata">

**Author:** ![Divo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Divo](https://forums.unrealengine.com/u/Divo)\
**Post date:** [May 14, 2015, 5:00pm UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/4 "2015-05-14T17:00:53Z")

</div>

Still having this issue in engine version 4.7.5

Edit: To be clear, it’s happening with every enum I try from this specific blueprint (even when converting to string and printing), however other blueprints are able to display the same enum properly.

---

<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:** [May 14, 2015, 5:20pm UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/5 "2015-05-14T17:20:45Z")

</div>

Hello Divo,

Could you please answer the questions that I asked in my original post (except for the engine version of course)? I will need more information in order to narrow down what issue it is that you are experiencing.

Make it a great day

---

<div class="post-metadata">

**Author:** ![Stormrage256](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stormrage256/32/1008648_2.png) [@Stormrage256](https://forums.unrealengine.com/u/Stormrage256)\
**Post date:** [May 17, 2015, 2:25pm UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/6 "2015-05-17T14:25:40Z")

</div>

Hi Rudy,

I’m having the same issue in 4.7.6 as well. I’m trying to convert an enum to string and when I print it out, instead of giving the literal value stored in the enum, it prints out like ‘enumerator0’. Also everything works perfectly in PIE. The issues occur only in standalone.

I will try it out on a clean project and let you know if it’s coming up with the same result.

---

<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:** [May 18, 2015, 6:32pm UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/7 "2015-05-18T18:32:15Z")

</div>

Hello ,

Please be sure to answer as many of the original questions as possible. Also please feel free to try the set up that I had and let me know if it works for you.

---

<div class="post-metadata">

**Author:** ![Stormrage256](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stormrage256/32/1008648_2.png) [@Stormrage256](https://forums.unrealengine.com/u/Stormrage256)\
**Post date:** [May 19, 2015, 4:50am UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/8 "2015-05-19T04:50:47Z")

</div>

Yes I was able to reproduce it in a new project. Here are the details you asked for:

- I’m using v 4.7.6
- Yes, I’ve managed to reproduce it in the FPS template.
- Here are the steps that I used along with screenshots:
  1. Created an Enum in content browser.

 ![43246-enum.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/a/8/2a80f6cdc99a248f819a2a9849743fcab78838f1.jpeg)

```
 2. Added an Enum Variable with the default value in FPS Game Mode.

```

 ![43247-gamemodeenumvariable.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/6/04645a2079f16a141684552919b5e02a45cb70d6.jpeg)

```
 3. In the HUD blueprint, access this variable, convert it to string and Draw Text.

```

 ![43249-huddrawtext.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/2/d/b2d551f6d55fbe1cc0e6af6408eed1b0f0ab825f.jpeg)

Now when I run it in standalone mode, it draws text like ‘New Enumerator 0’, while the text is ‘Combat Mode’ in PIE.

---

<div class="post-metadata">

**Author:** ![Stormrage256](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stormrage256/32/1008648_2.png) [@Stormrage256](https://forums.unrealengine.com/u/Stormrage256)\
**Post date:** [May 19, 2015, 5:00am UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/9 "2015-05-19T05:00:32Z")

</div>

Alternatively, you can also try a print string check to see if the enum converted to string is equal to an actual string variable holding the same literal value. Prints success in PIE, but failure in Standalone. Here’s a screenshot:

 ![43255-stringenumcheck.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/3/b/b3b5256b371304ebb7e08b226f6f3e1af07f266d.jpeg)

---

<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:** [May 19, 2015, 12:22pm UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/10 "2015-05-19T12:22:33Z")

</div>

Hello ,

After reading over the steps that you provided I was able to reproduce this issue on our end. I have written up a report ( UE-15811) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.

Make it a great day

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c0687f281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c0687f281](https://forums.unrealengine.com/u/anonymous_user_c0687f281)\
**Post date:** [November 16, 2015, 5:11pm UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/11 "2015-11-16T17:11:16Z")

</div>

Hi Rudy,  
any news on that?

---

<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:** [November 16, 2015, 5:49pm UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/12 "2015-11-16T17:49:20Z")

</div>

Hello ,

After looking into this issue it appears that the report that was filed was a duplicate of (UE-13906) and the original issue was resolved in the 4.8 version of the engine. I hope that this information helps.

Make it a great day

---

<div class="post-metadata">

**Author:** ![John\_Alcatraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@John\_Alcatraz](https://forums.unrealengine.com/u/John_Alcatraz)\
**Post date:** [February 28, 2016, 9:32pm UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/13 "2016-02-28T21:32:48Z")

</div>

Hi Rudy, it’s working in PIE and Standalone, but not in packaged if you enable the BP-\>C++ converter. I have tested this in both 4.11 and 4.12 (master branch). I know the BP-\>C++ converter is not yet finished, but maybe it helps to report bugs it has at the moment 🙂

---

<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:** [March 2, 2016, 3:15pm UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/14 "2016-03-02T15:15:30Z")

</div>

Hello ,

This sounds like it may be a separate issue. Could you start a new thread and place a link in a reply on this thread (for tracking purposes)? After this I will be more than happy to assist you further.

---

<div class="post-metadata">

**Author:** ![John\_Alcatraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@John\_Alcatraz](https://forums.unrealengine.com/u/John_Alcatraz)\
**Post date:** [March 2, 2016, 6:03pm UTC](https://forums.unrealengine.com/t/enum-to-string-name-text-conversion-not-working-in-standalone/315396/15 "2016-03-02T18:03:41Z")

</div>

Thanks, here the new thread is: [https://answers.unrealengine.com/questions/384092/a-few-bugs-with-the-bp-c-converter.html](https://answers.unrealengine.com/questions/384092/a-few-bugs-with-the-bp-c-converter.html)

I have also added a few more bugs to the bug report.
