Search Unity

Unity Analytics CORS supports (https://analytics.cloud.unity3d.com)

Discussion in 'Unity Analytics' started by Railon23, Jul 17, 2018.

  1. Railon23

    Railon23

    Joined:
    Jan 30, 2014
    Posts:
    32
    Hi there,

    I'm developing an Unity app to create Raw Data Exports, get the data, process the data to create a CSV file and sending that file to the clients FTP server.

    I'm using the script from this thread as a starting point. While trying to test a WebGL build I'm stuck because the unity server doesn't support CORS and I get an "WWW Error: Unknown error".

    Chrome reports:
    For me this looks like there's no CORS support on the unity cloud subdomain (https://analytics.cloud.unity3d.com).

    Can someone from Unity double check this? Is it possible to enable CORS support? Any other idea how to get data from the subdomain in a WebGL build?
    Thanks a lot
     
  2. Railon23

    Railon23

    Joined:
    Jan 30, 2014
    Posts:
    32
  3. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @Railon23

    Thanks for bringing this to our attention. The team is looking into it.
     
    Railon23 likes this.
  4. Railon23

    Railon23

    Joined:
    Jan 30, 2014
    Posts:
    32
    @ap-unity,
    any news on this? Shouldn't be so hard to add the CORS support?
    Thanks
     
  5. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @Railon23

    This should be in production now.
     
    tagh and Railon23 like this.