Search Issue Tracker
By Design
Won't Fix in 1.0.X
Votes
0
Found in [Package]
1.0.0-pre.5
Issue ID
NCCBUG-107
Regression
No
NetworkVariable is not synced when a client is newly joined
How to reproduce:
1. Open the user's attached project
2. Build the project (File -> Build Settings... -> Build)
3. Open two instances of the Player Build
4. Select "Client" in one instance, wait 2-5 seconds, then select "Host" in the second instance
5. Observe both Players
6. Close and open two instances of the Player again
7. Select "Host" in one instance, wait 2-5 seconds, then select "Client" in the second instance
8. Observe both Players
Expected result: both times the Cube shifts to the right side for both Player Builds
Actual result: during the first test when the client connects first, the Cube shifts to the right side for both Player Builds, but during the second test it shifts only for the host
Reproducible with: 1.0.0-pre.4, 1.0.0-pre.5 (2020.3.28f1, 2021.2.11f1, 2022.1.0b7, 2022.2.0a3)
Could not test with: 2019.4.36f1 (Netcode for GameObjects not supported)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Resolution Note:
Replied to customer with explanation on the SDK behaviour and suggested ways to fix
Resolution Note (1.0.X):
Client code issue:
" `transform.position = newPos;` during `OnValueChanged`. `OnValueChanged` is not triggered for the initial spawn."