RepNotify does not trigger

Hi everyone, I’m starting to use Repnotify on c++ but I can’t get it working. I’ve set the int to ReplicateUsing and the function name is set correctly. I’ve set the variable as replicated as well at GetLifetimeReplicatedProps with Super being called as well. The game is on a dedicated server, and I’m just summing 1 to the variable at begin play on the playable character.
The weird part is that the event is not even getting triggered. I’ve done this kind of stuff with blueprint, but it’s the first time with C++. Am I missing something?

Thanks!

OnRep is only called on the Clients by default in C++ if the value has changed since last update. If you also want the function to be called on the server you need to call the function explicitly.

For me it is the opposite they have changed it and now it always triggers even if the variable it is the same value as before the assignement pretty weirdo…