I was migrating my project to 4.26 from 4.25 and encountered this problem.
- Create UStruct that has Instanced property
- Create Array in blueprint using those structs
- Setup at least one instance(with non-default property values)
- Get crash when loading this asset after restarting the editor
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;
};