Search Issue Tracker

Fixed in 2018.3

Fixed in 2018.3

Votes

0

Found in

2018.2.19f1

2018.2.20f1

2018.3.0f1

Issue ID

1110031

Regression

Yes

SyncVar does not sync the variable with the clients

Networking

-

How to reproduce:
1. Open Unity project "NetworkSetupTest_3.zip" and scene "offlineScene"
2. Build And Run a project
3. On built application press "LAN Host(H)" button (to host the server)
4. In the Editor, enter Play mode
5. In the Game View press "LAN Client(C)" button (to join the server as a client)
6. On built application press "SpaceBar" to shoot a bullet
7. In the Editor, observe Console window

Expected result: 'player name is set to"test"' is printed
Actual result: 'player name is set to"myPlayer"' is printed along with an IndexOutOfRangeException error

Reproducible with: 2018.2.19f1, 2018.2.20f1, 2018.3.0f1, 2018.3.2f1
Not reproducible with: 2017.4.18f1, 2018.2.18f1, 2018.3.0a1, 2018.3.0b12
Could not test with: 2019.1 and newer due to the high level API being deprecated

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.