UObject replication

I know how to replicate UObject using AActor::ReplicateSubobjects. But ReplicateSubobjects only fires once right somewhere after the actor’s BeginPlay. This only allows me to create UObject in the initialization of the actor.

Is there a way to create a replicated UObject anytime?

ReplicateSubobjects actually runs every time the actor is processed, it’s how updates are sent for the extra objects.

@Zeblote Thanks. I didn’t know it’s called every tick

I know how to replicate UObject using AActor::ReplicateSubobjects.

I am having trouble with this. Can you explain how you are replicating UObjects?
I havent been able to reach a working solution and have searched alot

https://forums.unrealengine.com/t/problem-with-uobject-replicaiton/412179

I Have done everything in this thread except my replicated variable belongs to my gamestate.

I found the solution to my problem and posted the answer here

https://forums.unrealengine.com/t/uobject-eligible-for-replication-guide/671679/2