I am trying to save the value I assign to this attribute permanently.
Whenever I open the level it gets none.
UnrealEditor:
This is the class I want to assign to it and this is the attribute I have:
UCLASS()
class ***_API UOther : public UActorComponent, public IUE_Interface //IUE_Interface is an unreal interface.
class ***_API AMyActor final : public AActor.
{
...
UPROPERTY(EditAnywhere, Category = "Attributes")
TSubclassOf < UOther > Other;
...
}
This is the essential, then I have classes that inherit from uOther and these are the ones I want to be stored in the Other attribute.