Search Issue Tracker
Fixed in 5.5.0
Votes
1
Found in
5.3.5f1
Issue ID
804103
Regression
Yes
[UNET] SyncVar member variable inside a property setter should throw a compile time warning
Steps to reproduce:
1. open users 'UnetDocsError.zip'
- check console
Expected: warning in console
"Note that setting a SyncVar member variable inside a property setter function does not cause it to be dirtied.
Trying to do this will cause a compile time warning. Because SyncVars use properties internally to mark themselves as dirty,
setting them dirty inside property functions could lead to recursion problems."
http://docs.unity3d.com/Manual/UNetStateSync.html
Reproduced(doesn't throw error): 5.4.0b21, 5.3.5p1, 5.2.5f1
Not Reproducible(throws error): 5.1.5p1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Search] Query Builder - uneditable NaN in Transform vectors
- Transform.rotation property is as a Vector4 Quaternion instead of a Vector3 field when using InspectorElement.FillDefaultInspector
- [Search] Query Builder - "Input String was not in a correct format" error when changing query options
- MacOS Xcode project build fails when a package has PrivacyManifest
- [IL2CPP] Crash when closing the Player while an exception is thrown during exception handling
Add comment