Developer Notes

This issue has been closed as 'Won't Fix' due to an extended period of time without updates. If this issue is important to you please let us know by posting on the AnswerHub or UDN, and Epic will re-open the ticket for further review.

Description

Array variables marked as RepNotify are not calling OnRep on the server when they are not directly set using a Set 'VariableName' node.

Found in 4.14.0 CL# 3195953

Reproduced in 4.13.2 CL# 3172292 & 4.15 Main CL#3205566

Steps to Reproduce
  1. Open the attached project
  2. Play in New Editor Window with 2 Players
  3. Press the 'G' key

Result: Notice that '1' is printed for the client and server, indicating that OnRep was called on both for the replication of the boolean variable. Notice that '2' is printed only on the client, indicating that the server never ran OnRep for the boolean array variable.

Expected: OnRep would run on the client and server for the array variable.

Have Comments or More Details?

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

55
Login to Vote

Won't Fix
ComponentUE - Networking
Affects Versions4.134.144.15
CreatedNov 30, 2016
ResolvedMar 26, 2018
UpdatedApr 27, 2018