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
- [WebGL][Android] Corrupt header when connecting via IP
- Editor and Android Player hangs/freezes when repeatedly Loading/Unloading AssetBundle in Vulkan
- Selecting a Material for HDRP Decal Projector in the Inspector window spams errors in the Console
- Expanded Asset Preview Box moves/hides when creating new Asset in Project window
- Player crashes on Meta Quest with "/apex/com.android/runtime/lib64/bionic/libc.so" when using OpenXR Plugin in a specific project
Add comment