x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

Product Version: Not Selected
Tags:
more ▼

asked Apr 26 '14 at 04:12 PM in Bug Reports

avatar image

Byorun
133 13 18 22

avatar image Sychris Jul 31 '14 at 03:03 AM

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 :P

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Oct 07 '14 at 06:51 PM

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question