Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. 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:
    21
    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:
    21
  3. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,033
    @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:
    21
    @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,033
    @Railon23

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