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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment