OnRep Called on Authority in Blueprint But Not C++

In both cases OnRep is called on the client.

However, an OnRep function will also be called on the server in blueprint, which is not true if you implement an OnRep in C++.

Tested inside the editor, if there is any difference from a packaged game (which I can’t see why in this case).

Follow-up Question, which is the intended behavior of OnRep?

Hey Pumpy Bird-

The behavior you’re seeing, both in blueprints and in code, is expected. In the forum post below, points out that the server does not automatically get the ReplicatedUsing function called and must be called manually.

Cheers

You’re the best !

Thanks for clearing that up for us network newbies.