Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

UnityWebRequest / WWW buffer size

Discussion in 'Connected Games' started by bakno, Aug 16, 2019 at 12:40 AM.

  1. bakno

    bakno

    Joined:
    Mar 18, 2007
    Posts:
    558
    Hi

    Is it possible to modify the size of a UnityWebRequest buffer?

    I am trying to get text from a a single PHP page asynchronously, and perform tasks as soon as they are received.

    Unfortunately, Unity only provides access to what has been received either if the connection is closed or if the information received exceeds the buffer size. Therefore, I am sending extra 80K space characters to exceed this size and force Unity to let me get what has been received so far.

    Thank you
    Andres
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    5,954
  3. bakno

    bakno

    Joined:
    Mar 18, 2007
    Posts:
    558
    Thank you Joe. Already tried that and it did not work.