Error Default value "NewEnumerator0" for Enum is invalid - Error goes away after compiling

Hey everybody,

I get this strange error in one of my BTDecorator Blueprints:

Error Default value “NewEnumerator0” for Enum is invalid: “NewEnumerator0” is not a valid enumerant of “< Enum_States >”

Everytime I want to play my game I get this error. After compiling it just goes away. When I ignore the error my AI doesn’t work (the decorator tells the AI to return to patrol after it was scared away).
The enumerator is just an enum with 3 states, patrol, scared, attack.

Hope somebody knows what’s going on here. Let me know if you need more information.

Thanks in advance!