Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UnityWebRequest cannot receive data in some urls response

Discussion in 'General Discussion' started by accforaus, Mar 30, 2021.

  1. accforaus

    accforaus

    Joined:
    Feb 12, 2019
    Posts:
    2
    Hey guys. I have some problems with UnityWebRequest. I have several URLs to communicating with my server. Some URLs working fine expectly and other few URLs not working expectly. It's a weird thing that there is no error in any unity and my server. My server respond with status 200 normally, but Unity client cannot receive any data from the server. So I had testing my server on POSTMAN, Restlet Client, Curl, and even testing Axios on javascript. and it's working perfectly.
    and I think response data size is not matter about this problem because other working URLs data is much bigger response data size

    I don't know why UnityWebRequest cannot receive any data in some URLs responses.

    My unity client version is 2019.2.12f1 and I tried 2019.3.0.f1 but it's not working too.

    Thanks for reading my problem and please give me some advice about solving this problem.