Uproperty taged "VisibleAnywhere"、"Instanced" at the same time, UnrealEditor's detial render is not expected ?

UCLASS(EditInlineNew, DefaultToInstanced)
class UMyTopLevelClass: public UObject
{
	GENERATED_BODY()

public:
	UPROPERTY(VisibleAnywhere)
	FMyStruct MyStruct;                 // this is ok!

	UPROPERTY(EditAnywhere,Instanced)
	TObjectPtr<UMyClass> MyObject1;     // this is ok! its looks like MyStruct use EditAnywhere

 
	UPROPERTY(VisibleAnywhere, Instanced)
	TObjectPtr<UMyClass> MyObject2;     // I can not not find the name {MyObject2}(MyObject2's inner property always  in a random category, but i need the top level property name 'MyObject2')
}

I read almost every document I could find, but there were no answers, is there any way to let MyObject2 render look’s like MyStruct ?

I’m sorry I didn’t describe it clearly before, but I want to know, for the sub-objects TObjectPtr<T> MyObject2, why aren’t the categories clustered together,it looks totally out of order,I think they should converge to the top category MyObject2

Not sure i fully understand whats wrong but if its that your variable doesnt show in the details tab in your blueprint then its likely that you just need to shut down UE/Visual Studio, reopen and rebuild.

Im not sure what the exact cause is myself but UE occasionally does this for me when adding UProperty Tags