Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Quite a few strange webgl warnings in firefox

Discussion in 'WebGL' started by andyz, Dec 12, 2018.

  1. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,133
    not tested a webgl build for a while but those from 2018.2.14 seem to cause unexpected warnings etc. in firefox dev. console (windows). Should these appear or do I have some settings or plugins included that should not be?
    Messages such as:

    Use of the motion sensor is deprecated. (?!)
    Use of the orientation sensor is deprecated.

    Could not produce class with ID 90.
    This could be caused by a class being stripped from the build even though it is needed. Try disabling 'Strip Engine Code' in Player Settings.
    (so which might this be?)

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://config.uca.cloud.unity3d.com/. (Reason: CORS header 'Access-Control-Allow-Origin' missing).
    (is Unity trying to collect stats and failing?!)
     
  2. surits14

    surits14

    Joined:
    Jan 22, 2018
    Posts:
    22
    How did you fix this issue?
     
  3. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,133
    Actually with 2019 LTS there seem to be little in the way of warnings now for webgl.
    But none of the above actually stopped the code working as I remember
     
  4. surits14

    surits14

    Joined:
    Jan 22, 2018
    Posts:
    22
    I am using 2019.4.11 version. Still i got the same error as yours. But with relative URL I did not get this error. With Absolute URLs I get this error.

    Edit - Anyways solved at the moment.