#OnDeserialize failed Exception=System.IO.EndOfStreamException

2 messages · Page 1 of 1 (latest)

wet totem
#

When new client is connect they got this error for only variant player object anyone knows whats causing this? OnDeserialize failed Exception=System.IO.EndOfStreamException (see below) object=Player Female Variant(Clone) component=Mirror.NetworkTransform netId=3574. * Do Mirror.NetworkTransform's OnSerialize and OnDeserialize calls write the same amount of data? I guess yes?

  • Was there an exception in Mirror.NetworkTransform's OnSerialize/OnDeserialize code? I didnt get any exception before this
  • Are the server and client the exact same project? Yes
  • Maybe this OnDeserialize call was meant for another GameObject? The sceneIds can easily get out of sync if the Hierarchy was modified only in the client OR the server. Try rebuilding both.
modest wagon