Description

RepNotify causes the On Rep function to fire off whenever a variable is set rather than when the value of the variable changes (as stated in the documentation).

Steps to Reproduce
  1. Open the editor
  2. Create a new actor blueprint
  3. Open the actor blueprint
  4. Set the actor's Replicates feature to true
  5. Create a new float variable
  6. Set the variable's replication setting to RepNotify
  7. create the blueprint in the attached image
  8. Open the OnRep function
  9. Create the blueprint in the attached image
  10. Save and compile
  11. Play in Editor with multiple clients
  12. Notice that the print string is firing even though the value has not changed

Expected: The print string would only fire when the value is changed
Result: The print string fires every time the variable is set regardless of weather the value is changed

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

4
Login to Vote

Won't Fix
ComponentUE - Networking
Affects Versions4.10.44.13
CreatedMar 15, 2016
ResolvedAug 18, 2021
UpdatedAug 18, 2021