Description

When a property added to an ActorComponent class uses the specifier EditInstanceOnly, the property is editable inside a blueprint with the component rather than only showing up when selecting an instance of the actor in the viewport.

Steps to Reproduce
  1. Open UE4 Editor (any project)
  2. Add code to project based on ActorComponent (MyActorComp)
  3. Add the following to MyActorComp.h:
    UPROPERTY(EditInstanceOnly, Category = InstanceOnly)
    	float InstanceOnlyProp;
    
  4. Compile
  5. In the editor, create blueprint based on Actor (MyActorBP)
  6. Add My Actor Comp to MyActorBP
  7. Select My Actor Comp

Result:
InstanceOnlyProp appears in details panel when component is selected

Expected:
InstanceOnlyProp only appears when selecting an instance of the actor in the level viewport.

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Gameplay - Components
Affects Versions4.11.2
Target Fix4.15
Fix Commit3188920
Main Commit3194231
CreatedMay 13, 2016
ResolvedNov 7, 2016
UpdatedMay 4, 2023
View Jira Issue