Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. We're looking for your feedback on the platforms you use and how you use them. Let us know!
    Dismiss Notice
  4. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  6. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  7. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  8. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

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:
    17
    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:
    17
  3. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    997
    @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:
    17
    @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:
    997
    @Railon23

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