Updating/changing a parent class in any way crashes the engine.

I’m trying to modify an object’s parent class in blueprints. However if I try to change the parent class in any way it crashes the engine as soon as I compile the child class. Parent class compiles fine, but as soon as I compile the class that inherits from its parent, the editor crashes.
Gif of the crash