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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Add comment