UObject properties not displaying in BehaviorTree Service

I’ve implemented a new BehaviorTree service in C++. It’s working great except that the properties of UObjects which are properties of the Service are not showing up in the details pane:

49698-notworking.png

All I can select is the type. However I can see the properties in the property matrix:

This is how the property of the Service is defined:

UPROPERTY(EditAnywhere, meta = (DisplayName = "TargetingPass"))
UTargetingPass* m_TargetingPass;

I’ve also tried using the Instanced tag (and various other combinations) which also have the same outcome.

Any ideas? It would be much more convenient to edit things things right in the Details panel rather than going to the Property Matrix.

Thanks,

Tag your UTargetingPass with UCLASS(BlueprintType, DefaultToInstanced) and add Instanced to your m_TargetingPass UPROPERTY. That should enable you to see inner properties of UObjects. If you use only Instanced meta then only on that property UObject will be displayed, if you use both it will work as well. You can use DefaultToInstanced meta in class macro to make all occurrences of it as it uproperty was tagged with Instanced.