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
- Longer component titles overlap navigation arrow in the "Add Component" window
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
Add comment