Description

Variables are not being replicated when they are set on the server to be the same value as the default value of the property.

For example, if a float is created and defaulted to 20, and then set to 100 in the construction script, attempting to reset it to 20 at a later date will not replicate the change to the client. Using any other value than the default works as expected.

Steps to Reproduce
  1. Open the attached project
  2. Press 4 to set TestVar to 20 (it is initially changed in value in the construction script, to 100)
  3. Press 2 to print the value of TestVar on the Client

Result: TestVar is still set to 100 on the client

Expected: TestVar would be set to 20, as the change in value would have been replicated

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-45231 in the post.

6
Login to Vote

By Design
ComponentUE - Networking
Affects Versions4.144.154.16
CreatedMay 19, 2017
ResolvedOct 22, 2018
UpdatedMar 26, 2019