Unity WebGL (on Facebook) - No response from GameSparks
P
Panza Games
started a topic
almost 7 years ago
We have a problem while trying to integrate GameSparks in WebGL build (on Facebook). At first we were getting time out exception. We fixed that by setting RequestTimeoutSeconds of PlatformBase class to large number (300). But even after that, we do not get response from GameSparks. Actually, we did get response a few times and in those cases GameSparks initialized well, but that happens very rarely. In Android build, or in Unity editor everything works well - so the problem happens only in WebGL build. We made very simple testing environment, so we attached LoginManager script that we used and that is mostly based on your tutorial for Facebook login. We also noticed that WebSockets are constantly being opened and closed, so here are some logs from web browser console regarding to that:
It turned out that Avast antivirus was blocking communication with GameSparks. The solution was to turn off option "Enable HTTPS scanning" in "Web Shield" settings of Avast antivirus.
1 Comment
P
Panza Games
said
almost 7 years ago
Answer
It turned out that Avast antivirus was blocking communication with GameSparks. The solution was to turn off option "Enable HTTPS scanning" in "Web Shield" settings of Avast antivirus.
Panza Games
We have a problem while trying to integrate GameSparks in WebGL build (on Facebook). At first we were getting time out exception. We fixed that by setting RequestTimeoutSeconds of PlatformBase class to large number (300). But even after that, we do not get response from GameSparks. Actually, we did get response a few times and in those cases GameSparks initialized well, but that happens very rarely. In Android build, or in Unity editor everything works well - so the problem happens only in WebGL build. We made very simple testing environment, so we attached LoginManager script that we used and that is mostly based on your tutorial for Facebook login. We also noticed that WebSockets are constantly being opened and closed, so here are some logs from web browser console regarding to that:
If there is anything more that we could provide, please let us now.
It turned out that Avast antivirus was blocking communication with GameSparks. The solution was to turn off option "Enable HTTPS scanning" in "Web Shield" settings of Avast antivirus.
Panza Games
It turned out that Avast antivirus was blocking communication with GameSparks. The solution was to turn off option "Enable HTTPS scanning" in "Web Shield" settings of Avast antivirus.
1 person likes this
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics