Mondeto icon indicating copy to clipboard operation
Mondeto copied to clipboard

Cannot send large field value

Open tana opened this issue 4 years ago • 1 comments

Exception: Exception of type 'System.Exception' was thrown.
  at Microsoft.MixedReality.WebRTC.Interop.Utils.ThrowOnErrorCode (System.UInt32 res) [0x00015] in <523f54ef16b44aa2825132fea54da877>:0
  at Microsoft.MixedReality.WebRTC.DataChannel.SendMessage (System.Byte[] message) [0x00031] in <523f54ef16b44aa2825132fea54da877>:0
  at Connection.SendMessage[T] (Connection+ChannelType type, T msg) [0x00008] in /opt/workspace/workspace/satoshi-tanaka.mondeto.windows64/Assets/Scripts/Core/Connection.cs:194
  at SyncNode.SyncFrame (System.Single dt) [0x002c5] in /opt/workspace/workspace/satoshi-tanaka.mondeto.windows64/Assets/Scripts/Core/SyncNode.cs:140
  at SyncBehaviour.FixedUpdate () [0x00082] in /opt/workspace/workspace/satoshi-tanaka.mondeto.windows64/Assets/Scripts/UnityInterface/SyncBehaviour.cs:163

(Filename: <523f54ef16b44aa2825132fea54da877> Line: 0)

It seems like indicating the field data of a mesh (vertices, indices, etc.) is exceeding the maximum packet size of WebRTC.

tana avatar Dec 22 '20 15:12 tana

Protocol was changed to QUIC-based one (see #114 ), but due to size limit of QUIC datagrams, it is not possible to send large field values such as mesh data. Therefore this problem is not solved yet.

tana avatar Jul 13 '22 20:07 tana