Need to obtain class of Actor that my custom ActorComponent that I've used IDetailCustomization to create a custom viewer for

I wrote a custom detail viewer for an actor component I have. I’m trying to get the class of the actor that it’s attached to while editing the blueprint. I’m able to obtain the pointer to my ActorComponent, but that’s it.

Calling ActorComponent::GetOwner returns nullptr while in the editor.

I’ve tried using TObjectIterator to find all actors and then iterate over their components. I was able to find an instance of the ActorComponent on an Actor this way, but it’s not the same instance as the one from the DetailView.

I’ve also tried using FAssetEditorManager::GetAllEditedAssets(), I’m able to find the UBlueprint this way, but not sure how to access the root object of the blueprint.

For further clarification, if I was able to use ActorComponent::GetOwner::GetClass() in the editor that’s all I’d need.

Any other ideas?