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
- SearchExpression strips quotes
- dSYM file is not created during macOS standalone build
- Project Settings panels disappear and do not repaint when entering Play Mode without reloading Domain
- Screen Space Decals ignore Rendering Layer Mask when using OpenGL Graphics API
- Crash on scripting_method_invoke when the Player is build before entering the Play mode in the Editor
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."