4.17 Editor crashing during load, Cast of REINST to ActorComponent

Im getting a similar error in 4.27 trying to spawn an object from c++ from a TSubClassOf after editing the derived blueprint in the editor.