How to replicate a UObject property inside a struct?

Hello, I’ve tried to use approach you’ve mentioned but I faced a problem. For example I have Component and UObject* member inside:
UTestObject* testObject;

Inside UTestObject I just have a simple field like this:
UPROPERTY(Replicated)
int m_currentAmount = 0;

I also implemented both IsSupportedForNetworking and GetLifetimeReplicatedProps functions.

Then on both Server/Client in begin play I create testObject via NewObject. Then at somepoint of time I made an RPC call and change m_currentAmount on Server and I don’t receive this update on client.
However, if I change pointer itself, for example made something like this:
testObject = nullptr;
I will get an update on Client. Seems like it only replicates pointer by itself, but not the data inside pointer.
Do you know how to fix this? Thanks