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
- Graphical issues are caused by GPU Occlusion Culling when using Amplify Shaders
- ”Last item reached” warning is thrown when no search results are found in UI Toolkit Layout Debugger
- UI Elements overlap in the Shortcuts window when docked and resized to a smaller window size
- UIBuilder DataSourcePath dropdown fails to show properties when binding to abstract classes
- Errors are logged when importing an asset at a path with Firebase
Add comment