Custom Enums cause the Editor to crash

I was adding a custom enum to my pawn. I was able to use PIE a number of times but suddenly the editor crashed.
If I tried to re-open my project the editor crashed again. In order to get the editor to start again I had to move/rename my default editor map and click on not to reopen assets.
And now the fun part:
If I tried to open any Blueprints with a reference to my enum the editor crashes again, but if I open the enum first everything is fine until I restart the editor.

LogEnum:Warning: Enum Text EKaoriGameUnitType::NewEnumerator0 for Enum EKaoriGameUnitType failed to resolve to any value
LogEnum:Warning: Enum Text EKaoriGameUnitType::NewEnumerator1 for Enum EKaoriGameUnitType failed to resolve to any value
LogEnum:Warning: Enum Text EKaoriGameUnitType::NewEnumerator2 for Enum EKaoriGameUnitType failed to resolve to any value
LogEnum:Warning: Enum Text EKaoriGameUnitType::NewEnumerator3 for Enum EKaoriGameUnitType failed to resolve to any value

So I created a new enum and used the replace reference on delete function to replace the old enum with the new one but that didn’t work.

LogBlueprint:Error: [compiler] Error Default value 'NewEnumerator2' for  UnitType  is invalid: 'Expected a valid unsigned number for a byte property'
LogBlueprint:Error: [compiler] Error Default value 'NewEnumerator1' for  UnitType  is invalid: 'Expected a valid unsigned number for a byte property'

I had to delete EVERY variable and input or output from functions of this enum type in order to get my project running again.
A recovery feature that lets you easily identify which assets are causing the error with a way to correct corrupted blueprints would be nice rather than just crashing the editor

i am also experiencing this issue. unfortunately
[2014.07.31-02.42.24:383][493]LogEnum:Warning: Enum Text ModifyItem::NewEnumerator1 for Enum ModifyItem failed to resolve to any value

wich results in a
[2014.07.31-02.42.42:257][447]LogWindows:Error: appError called: Cast of NULL to UScriptStruct failed

followed by a compleate crash

UE4.3.1

the file it is occuring on is very large… its going to ba a long night :stuck_out_tongue:

Hello,

Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes.

If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, please submit a new report for it.

Thank you.