It seems from time to time my app just hangs waiting for a response when requesting regions, has there been an update or should I add some error checking here?
SDK: 1.2.3
Unity: 6000.10f1
OS/Platform: WebGL
It seems from time to time my app just hangs waiting for a response when requesting regions, has there been an update or should I add some error checking here?
SDK: 1.2.3
Unity: 6000.10f1
OS/Platform: WebGL
I notice you’re using Unity 6 - is this a relatively new upgrade? Are you fetching regions asynchronously? We have experienced inconsistency with async in WebGL especially in Unity 6 in our own testing.
Do you experience the same issue in Unity or is this just in a WebGL build?
Unity 6 is not a new upgrade we’ve been using it for the past…month or so. It is an async call. I want to say this has become a bit more common in the past week or so? Before this Requesting regions was rather consistent.
If we already know what region we are going to use do we actually need to request the region? I wasn’t sure if there were any other initialization things going on with doing the call.
Nope, you do not need to request the regions. You can use the region strings as needed in other API calls.
The inconsistency you’re seeing is similar to what we’ve experienced. A build will work consistently, then a small code change will cause the webasm output to change slightly and async calls are no longer processed. We are investigating but I don’t have a timeline on it at the moment.