Search Issue Tracker
By Design
Votes
1
Found in
5.3.5f1
Issue ID
810862
Regression
No
Unable to set SyncVar value using FieldInfo.SetValue()
Steps to reproduce:
1. Open "case 804979" project
2. Open "mainscene" scene
3. "Build and run" this project and host a server
4. Play in editor and connect to the local host
5. Press 'T' in standalone build
-- Notice that sphere color doesn't change on client side (editor)
6. Uncomment 2nd line '#define WORKS2' in PlayerClientScript and repeat 3-5 steps
-- When pressing 'T' color changes on both client and host.
Results: FieldInfo.SetValue doesn't set SyncVar value.
Reproduced with: 5.3.5f1, 5.3.5p7, 5.4.0b25, 5.2.4f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment