This is perhaps a misuse of Instanced properties but the repro info is good so I thought I'd better add it to Jira. See Additional Info URL for details.
Checked and happening on:
//UE4/Main CL-2884111
//UE4/Release-4.11 CL-2885916
UCLASS(editinlinenew, DefaultToInstanced) class UInstancedBase : public UObject { GENERATED_BODY() public: UPROPERTY(EditAnywhere) int32 Foo; }; UCLASS() class QAGAME_API UCreatedWidget : public UWidget { GENERATED_BODY() public: UPROPERTY(Category = UI, EditAnywhere) USlateWidgetStyleAsset* Style; UPROPERTY(Category = UI, EditAnywhere, Instanced) TArray<UInstancedBase*> BaseInstances; UPROPERTY(Category = UI, EditAnywhere, Instanced) UInstancedBase* SingleInstance; };
Result: On compile set values are lost.
(Can also check UDN link for further info on repro.)
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-26310 in the post.