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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment