Description

Adding a new component in code does not show all editable options in the details panel.

Ex:
When a sphere component is added to a class, the Transform category will only list the Scale. Location and Rotation do not show up in the details panel.

Workaround:
Closing and reopening the project will usually cause missing elements to return

Steps to Reproduce
  1. Open UE4 Editor (any project)
  2. Add code based on character (MyCharacter)
  3. Create a blueprint based on MyCharacter (MyChar_BP)
  4. Add the following to MyCharacter.h
    UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = test)
    	USphereComponent* MySphere;
    
  5. Add the following to MyCharacter.cpp in the constructor
    MySphere = CreateDefaultSubobject<USphereComponent>(TEXT("MySphere"));
    MySphere->SetupAttachment(RootComponent);
    
  6. Compile
  7. Open MyChar_BP and select the MySphere component

Result:
only Scale shown inside Transform section of the details

Expected:
Location and Rotation are editable after adding component

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

6
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.15.24.16
CreatedMay 4, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021