Steps to Reproduce

Make a blueprint of TestActor below and submit it to source control. Then edit a property in it and then attempt to diff.

 

#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Components/ActorComponent.h"
#include "TestCircularDependency.generated.h"
USTRUCT()
struct FTestStruct
{
GENERATED_BODY()
FTestStruct(){}
FTestStruct(const class UTestComponent* InOwner) : Owner(InOwner){};
UPROPERTY(Transient)
const class UTestComponent* Owner = nullptr;
};
UCLASS(Blueprintable)
class UTestComponent : public UActorComponent
{
GENERATED_BODY()
UPROPERTY(Transient)
FTestStruct Member = { this };
};
UCLASS(Blueprintable)
class HOOD_API ATestActor : public AActor
{
GENERATED_BODY()
ATestActor()
{
static const FName TestCompName = TEXT("TestComponent");
TestComp = CreateOptionalDefaultSubobject<UTestComponent>(TestCompName);
}
UPROPERTY(EditDefaultsOnly)
class UTestComponent* TestComp = nullptr;
};

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-82615 in the post.

0
Login to Vote

Cannot Reproduce
ComponentUE - Gameplay - Blueprint Editor
Affects Versions4.23
Target Fix4.24
Fix Commit9888086
Main Commit9888142
Release Commit9888086
CreatedOct 28, 2019
ResolvedOct 30, 2019
UpdatedJan 25, 2021
View Jira Issue