Search Issue Tracker

By Design

Votes

29

Found in

5.3.4f1

Issue ID

786248

Regression

No

[UNET] NetworkWriter.Write causing ReadString/ReadBytes out of range errors in clients

Networking

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 0Severity not yet defined

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

Comments (14)

  1. B2c75f7eea065d2bc4d7a2c56363ab91?d=mm

    Clawf

    Mar 13, 2017 13:26

    Any update on this ? I get it all the time. PLS FIX IT.

  2. C93784afe6596724e65d8472c4684588?d=mm

    vis2k

    Dec 19, 2016 18:15

    For people having this bug, you may want to read through my forum thread too: https://forum.unity3d.com/threads/bug-readstring-too-long-please-show-the-variable-that-caused-it.395692/

  3. Aff1cfe87e97c8abc796469a52839749?d=mm

    tvirus06

    Dec 19, 2016 05:47

    When will this be fixed? :(.

  4. B035a9e264198897f95784e4288368b1?d=mm

    mercior

    Nov 21, 2016 20:16

    Still exists @ 5.4.1f1

  5. C53688e0ac2b6f3442c234f4a3cb3b09?d=mm

    dario_zubovic

    Sep 09, 2016 17:18

    Still exists in 5.4.0f3. Due to another bug in UNET I resorted to writing my own socket server & client. Looks like I'll have to roll out custom serialization as well. -.-'

  6. 8d99397af06d15636f0edfbc6737307d?d=mm

    bruu

    Jul 29, 2016 21:26

    This is impossible to deal with, please fix.

  7. 629a1b6bbbbf9a8c6fad45cfda80de70?d=mm

    HeBin

    Jul 24, 2016 13:21

    Still exists in 5.3.5p8

  8. 89afc70dbb0c0c44ad9a9beb8e07e71f?d=mm

    jough

    Jun 30, 2016 22:30

    Bug still exists

  9. C93784afe6596724e65d8472c4684588?d=mm

    vis2k

    May 10, 2016 07:29

    The bug still exists.

  10. 5f0e8ea14d145d5ee23cb7a2ebe77f54?d=mm

    samjoly

    May 09, 2016 22:50

    SHIFTY, you say "works fine now.", did you find a work around, or do you use a specific version of Unity?

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.