Search Issue Tracker
By Design
Votes
0
Found in
5.3.2f1
Issue ID
769691
Regression
No
[SyncVar] Client receives updates not only on class that's being updated but also on class that inherits it
Steps to reproduce:
1. Open attached "769691.zip". Inside there are two projects: client and server
2. Open both projects
3. In both projects, open scene "_entry"
4. Open profilers for both projects and make sure that NetworkOperations profiling is enabled
5. Run "_entry" scene on project "server" and start as host
6. Observe profiler and notice that the only OUT that exists is project spawn
7. Now in "client" project start scene "_entry" and run as client
8. In profiler, notice that two INs exist: one is project spawn, another one is update on SyncVarTest_InheritedWithSyncVar although server hasn't sent any data. Also notice that column "Total" for that class is 2
9. Now get back to server and press Q to update SyncVarTest class
10. Get back to client again and in profiler notice that IN for SyncVarTest was received and also column "Total" for SyncVarTest_InheritedWithSyncVar is 4 - it got updated with an update of SyncVarTest
Reproduced with: 5.2.4p1, 5.3.2p3, 5.4.0b6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment