When a code based actor component has an exposed array of actor components, adding an element to the array in the editor will add the component to the actor but removing that element does not remove the component.
Workaround:
If the project is closed/reopened after removing the array element, the associated component will be removed from the actor.
UPROPERTY(EditAnywhere, Instanced, Category = Test) TArray<UActorComponent*> ArrayName;
Result:
Box Collision component still present on actor
Expected:
Removing the array element removes the associated component
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.11.2 |
Target Fix | 4.15 |
Created | May 10, 2016 |
---|---|
Resolved | Dec 6, 2016 |
Updated | Apr 27, 2018 |