Enum to name is Broken

Sorry, using to string will show the correct enum name

Still broken in 40.20.1

I’m well aware that there is a workaround.

It just seems a bit tardy that 12 “stable” releases later and a basic type converion is STILL not implemetned. Simply remove the node entirely if nobody is going to bother to fix it, at least that way blueprint developers won’t be led astray when their data table references are failing inexplicably.

Using 4.20.3 , spent a bit figuring out why my blueprints weren’t working. Seems “Enum to name” wasn’t working. The “Emun to string to name” work around still works!

Still a bug in 4.21.2! Please fix.

ue 4.20

In 4.22.3 this is the new workaround. If you don’t do the ToText(string) node, depending on how you juggle the cast, it’ll return an integer or UnitTypeEnum::NewEnumerator1.

1 Like

Still a bug in 4.25

Still a bug in 4.25.

Still a problem in 4.25.1 even outside construction script!

Just tried with Enum “ESlateVisibility”, Value being 0 (Visible).

Enum to Name, and I get —> “ESlateVisilibility::Visible”.


Tried with other Enum “ETankActions”, Value being 0 (Firing).

Enum to Name, and I get —>“ETankActions::NewEnumerator”.

Tried with “Enum to String”, I get only “Firing” but no way I could get “ETankActions::Firing”.

Confirmed in Version: 4.25.3

Has anyone achieved getting full name of enums (type and value) like with ESlateVisibility?

If you still getting an integer you could use it to get the Row Name

But make sure that the enum and data table are ordered equally

Worth noting (and I haven’t tested this myself):
Apparently enum to string returns the localised enum text. So just be aware, you’re likely to get different strings when running under different languages unless the enum is excluded from localisation?

Still an issue in 4.25. I think it should just work. A very common scenario to use for pairing a type to a score, for example.

I not read whole thread, but fastest solution is enum to string, string to name.
image
I work on ue 5.1 :wink:

Still a bug in UE5.0.3. OMG LOL

2 Likes

Thought exactly the same. Dude, it’s been 7 years and two major versions… :rofl: :rofl: :rofl:

1 Like

2023 and this is still broken. The Enum to String to Name fix still works.

1 Like

PLEASE FOR THE LOVE OF YOUR USERS - FIX THIS FRICKING PROBLEM!!! I WASTED A TON OF TIME DEBUGGING THIS AND TRYING TO FIGURE HOW TO FIX…ITS ALMOST 2024!!! THIS IS UNEXCUSABLE!

2024 august it’s still broken wtf

1 Like