Editor crashes with inheritance error when changing a structure

I have an issue where the editor (5.5.1) crashes when I try to change a specific structure. This is the error message: Assertion failed: ((UObject*)ContainerPtr)->IsA(GetOwner()) [File:D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h] [Line: 714]
‘Default__REINST_SKEL_BP_Lamp_C_631’ is of class ‘REINST_SKEL_BP_Lamp_C_631’ however property ‘DefaultSceneRoot’ belongs to class ‘SKEL_BP_BuildingObjectBase_C’

The referenced inheritance is 3 levels deep (BuildinObjectBase->NoFunctionBuildingObject->Lamp). The error does not occur when I remove an interface from the NoFunction-class that has the structure I want to change as an input. I suspect the change updates something causing the crash. Any idea how I can fix this?