Search Issue Tracker
By Design
Votes
31
Found in
5.3.4f1
Issue ID
786248
Regression
No
[UNET] NetworkWriter.Write causing ReadString/ReadBytes out of range errors in clients
Steps to reproduce:
1) open attached project "stripped.zip"
2) build and run as "Host"
3) editor as "Client"
Actual: ReadString/ReadBytes error printed
Expected: show errors in OnSerialize/OnDeserialize and point to which GameObject it happened
note: if you are to enable "Scenes/Warrior.prefab" NavMeshAgent component, it works without any errors
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
vis2k
Apr 14, 2016 11:39
Note that there are two issues here:
- we should be able to see the real errors that happened in OnSerialize/OnDeserialize
- and UNET shouldn't send messed up packets when errors happened in OnSerialize/OnDeserialize, because one messed up packet is enough to completely stop the game for a client