When a component is added to an ActorComponent class, and the ActorComponent is then added as a component to another class, the first component appears in the blueprint hierarchy but its detail panel is completely empty.
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Test) USpringArmComponent* Arm1;
Arm1 = CreateDefaultSubobject<USpringArmComponent>(TEXT("Arm1"));
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Test) UMyActorComp* ActorComp;
ActorComp = CreateDefaultSubobject<UMyActorComp>(TEXT("ActorComp"));
Result:
Arm1 will appear in the hierarchy but the details is empty when selected
Expected:
Arm1 details to be available for editing when selected or Arm1 does not show up in hierarchy and is instead visible in the viewport/editable when selecting ActorComp in the hierarchy.
Head over to the existing Questions & Answers thread and let us know what's up.
6 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.12.4 |
Created | Jul 5, 2016 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |