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.

Bug Authentication and webgl

Discussion in 'Authentication' started by TomTheMan59, Feb 17, 2023.

  1. TomTheMan59

    TomTheMan59

    Joined:
    Mar 8, 2021
    Posts:
    215
    So it seems that you cannot use remote config/authentication in webgl. It doesnt suppose await and even if you remove await it throws an error. The code does work in editor and ios tho so I know its not me.

    Is there a solution or is webgl just not supported rN?
     
  2. vd_unity

    vd_unity

    Unity Technologies

    Joined:
    Sep 11, 2014
    Posts:
    23
    Hi @TomTheMan59 ,
    This is not the problem with the Auth package,
    as there is a bug in Remote Config regarding translating async/await into WebGL.
    We have that fixed, but at this point, I am not sure about the exact day RC will release the update.

    So for WebGL, RC 3.x should not be in the project at all since it breaks the initialization
     
    TomTheMan59 likes this.