Enum to String in Editor and Packaged game

It is surprising, when Enum to String in Editor returns Display Name of enum value name (with spaces between words), while in packaged game it returns its source code name.