The last setup i tried :
UCLASS(DefaultToInstanced, abstract, Blueprintable, BlueprintType, meta = (BlueprintSpawnableComponent))
class MyClass : public UObject
UCLASS(DefaultToInstanced, hidecategories = (Object, LOD, Physics, TextureStreaming, Activation, "Components|Activation", Collision), editinlinenew, dependson = (MyClass), meta = (BlueprintSpawnableComponent))
class MyClassContainer: public USceneComponent
{
UPROPERTY(instanced, EditAnywhere, BlueprintReadWrite, Category = Inventory)
TArray<MyClass*> MyObjects;
}
I did try a lot of different option here and there with no more luck