Can UObjects be replicated?

Thanks but I have also looked at this class. I want to implement something similar to the “State pattern”, the GameplayTask system comes very close but it supports multiple tasks where I want to be limited to 1 task.

I noticed most stuff inherits from AActor, I wonder if I should too? But there is so many stuff in AActor that I don’t need, like the MovementComponent, InputComponent, Transform, Velocity and the list goes on.