Description

When a variable is set to Skip Owner replication, it is still being replicated to the owner in a packaged game. This is inconsistent with the behavior in the editor, as testing this using Play in New Window with 2 players seemed to function as expected, meaning the client printed "default" even after the value was changed on the server.

Steps to Reproduce
  1. Open the attached project (make sure Steam is running before attempting to play)
  2. Package the game for Win64
  3. Run the game on two PCs
  4. On the Client PC, press 4 to print the Debug String variable (set to Skip Owner replication, should print default here)
  5. On the Client PC, press 3 to call the server function that sets the string to "changed on server"
  6. On the Client PC, press 4 once again

Result: "Changed on Server" is printed on the client.

Expected: The value on the client remains the same (i.e. "default" is printed).

Have Comments or More Details?

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

33
Login to Vote

Fixed
ComponentUE - Networking
Affects Versions4.144.154.16
Target Fix4.23
Fix Commit7260552
Main Commit7260553
Release Commit7260552
CreatedApr 13, 2017
ResolvedJul 10, 2019
UpdatedFeb 12, 2020
View Jira Issue