How to refresh details panel?

After creating components in OnConstruction() there is a mess inside details panel. Components list is not refreshed. I tried using GUnrealEd->UpdateFloatingPropertyWindows() without success.
How can I refresh components list?

Did you find a solution to this? I need the same thing, updating properties in C++ doesn’t refresh the details view. I tried modify, and calling pre/post edit change.

Compile with Unreal Editor closed.

Yes, I dug up this from the source and it worked:

FModuleManager::LoadModuleChecked<FLevelEditorModule>("LevelEditor");
LevelEditor.BroadcastComponentsEdited();
LevelEditor.BroadcastRedrawViewports(false);

Eventually I have quit using UE. Searching for such things in the sources is too heavy for me and visual coding sucks.

1 Like