Download

Crash when loading array of UStructs containing Instanced property

I was migrating my project to 4.26 from 4.25 and encountered this problem.

  1. Create UStruct that has Instanced property
  2. Create Array in blueprint using those structs
  3. Setup at least one instance(with non-default property values)
  4. Get crash when loading this asset after restarting the editor
Blueprint

Code
USTRUCT(BlueprintType)
struct INSTANCEDCRASH_API FStructWithInstanced
{
	GENERATED_BODY()

	UPROPERTY(EditAnywhere, Instanced)
	UMyInstancedObject* Instanced;
};

UCLASS(Blueprintable, editinlinenew)
class INSTANCEDCRASH_API UMyInstancedObject : public UObject
{
	GENERATED_BODY()
public:
	UPROPERTY(EditAnywhere)
	FString String;
};

TestProject