Search Issue Tracker

Duplicate

Votes

6

Found in

2018.2.19f1

2018.3.0f1

2018.3.0f2

Issue ID

1117258

Regression

Yes

OnDeserialize is never called when InitialState is set to true and overriding NetworkSettings channel to any value but 0

Networking

-

How to reproduce:
1. Open attached project "InitialState2018.zip" and scene "SampleScene"
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. Observe Console window

Expected result: "setting initial state" and "Sent On Initial | Sent Every Time" are printed
Actual result: "setting initial state" is never printed, "Assertion failed" errors are thrown

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

  1. Response avatar

    This is a duplicate of issue #1110031

    SyncVar does not sync the variable with the clients

Comments (1)

  1. D887cda983307d9e4d235d6d69af4d98?d=mm

    MKark

    Jan 22, 2019 13:44

All about bugs

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