-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication timeout on WebGL is fixed at 15 seconds #103
Comments
Hi Luke
Thanks for the fix. I’m unsure of how to install it though. I tried adding this line to my manifest.json but the build now hangs at the authenticate call.
"com.heroiclabs.nakama-unity": "https://github.com/heroiclabs/nakama-unity.git?path=/Packages/Nakama#4d4240c00ffd35733cb314c1ced6393a69208bdb”
I previously downloaded and installed the 2.7.0 unity package.
Thanks.
… On 30 Jan 2021, at 01:02, Luke ***@***.***> wrote:
@DaveOak <https://github.com/DaveOak> Thanks for filing this issue. This is now fixed in this patch: 4d4240c <4d4240c>
You can use it now using the instructions in the README or wait for a Unity Asset Store release if you're using our package that way, though the former approach is recommended.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#103 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA7YAUYAXWJLX6RKKGHBRE3S4NLCBANCNFSM4WSBLFWQ>.
|
Hey @DaveOak, it looks like you imported it correctly. Is the hanging still only just for WebGL builds? Could you share the piece of code that hangs? |
Hi Luke, thanks for confirming my approach was OK. The hanging problem turned out to be a bug in my own code. The timeout now works correctly when I set _client.Timeout in my code before authenticating. |
🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Changing the timeout in config.yml works for Android and iOS builds but makes no difference to WebGL builds that use UnityWebRequestAdapter. The timeout appears to be 15 seconds.
For context, a Facebook player with > 1000 playing friends causes a long delay (approx 17 seconds) on authentication while the friends list is imported.
The text was updated successfully, but these errors were encountered: