Good day.
In the process of creating an extended Scene Outliner (by the way, I still haven’t figured out the search ) i realized that it would be ideal to use it instead of the standard list when choosing an actor.
To do this for a hard reference, it was enough to register my settings widget under the name “Actor”:
FPropertyEditorModule& PropertyModule = FModuleManager::LoadModuleChecked<FPropertyEditorModule>("PropertyEditor");
PropertyModule.RegisterCustomPropertyTypeLayout(
FName("Actor"),
FOnGetPropertyTypeCustomizationInstance::CreateStatic(&FActorCustomization::MakeInstance));
However, the soft links remained unchanged:
I get GetClassNameToDetailLayoutNameMap, but it doesn’t have anything to do with Soft References.
I tried registering my widget with different combinations of “Actor”, “Soft” and “Reference” names, but nothing worked. I also tried TSoftObjectPtr< AActor > name, but the result was the same.
So under what name should I register my customization widget so that it works with soft references to actors?
Thanks in advance.
P.S. With other soft references - the situation is exactly the same. Registration works only for hard references.