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()

Networking

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.