I am using the following Slate pattern to create a drop down editor menu where I can pick an actor in the scene. While I am able to pick the actor from the dropdown menu, the tooltip on the dropdown menu claims it cannot find the selected object.
SMapSnapper::FixedMapOnChanged
sets a member variable to the selected actor. This member variable gets set correctly even with the displayed error.
SMapSnapper::GetFixedMapString
returns the aforementioned member variable’s path using GetObjectPath().
I don’t receive the error if the AllowedClass is something other than AActor, i.e., assets, materials, things that are not in the scene.
Perhaps SObjectPropertyEntryBox is not the right tool for this. Also, the broken path SObjectPropertyEntryBox claims is Game/FirstPersonCpp/Maps/FirstPersonExampleMap.FirstPersonExampleMap:PersistentLevel.ObjectName
which looks like a perfectly reasonable path to me.
Alternatively there’s the PropertyCustomizationHelpers class (where you already found SObjectPropertyEntryBox I suspect) and it has the functions MakeActorPickerWithMenu for example, which I think more directly suit what you seem to need.
Just remember both of these examples need you to include the PropertyEditor in your editorbuild.cs
This helped lead me to the solution to my problem. I was trying to make an Actor Picker that filtered on whether the actor had a specific ActorComponent.