Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Authentication and webgl

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

  1. TomTheMan59

    TomTheMan59

    Joined:
    Mar 8, 2021
    Posts:
    347
    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:
    37
    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.