Unreal Engine crashes when making changes to an structure

Your problem comes from the fact your struct is an asset.

Create structs and enums from C++ instead.