Creating a map type variable with a custom enum crashes the editor

So it’s not even about setting the values or keys dynamically, it’s the compilation that freezes the editor?

I’ve reproduced the setup, a map of Enum | Actor in an Actor Component without issues:

Is the component inheriting from another component perhaps?