Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Websockets Bug

Discussion in 'WebGL' started by levwsr, Apr 19, 2016.

  1. levwsr

    levwsr

    Joined:
    Jul 23, 2012
    Posts:
    68
    We are using unity's networking (the websockets stuff) in webgl. We are setting the MTU to 8000 but are still seeing the packets cut at 4096. Its set to an unfragmented connection, though I dont think that setting matters with websockets.

    Is this a known behavior / as intended, or a bug?

    Do we need to stitch the packets back together ourselves?

    Is unity using javascript to power the websockets connection, or some .net implementation?

    Thanks!
     
  2. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    Are you using UNET ? If so, that's implemented using WebSockets.
     
  3. levwsr

    levwsr

    Joined:
    Jul 23, 2012
    Posts:
    68
    mm.. ignore this, silly error on our end.