Problem with UObject replicaiton

Ok so I found the missing part which would make the code work

You have to set this flag when creating the uobject that you want replicated RF_Public

I referenced this post here since it is a nearly perfect example for UObject Replication (Except the part that is replicating values on PlayerController which i think is not a good standard).

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