Greetings,
We have observed a freeze caused by calling PlayFabCloudScriptAPI.ExecuteFunction (the freeze seems to be longer for Azure functions that take longer to execute). In editor the whole Unity is frozen until we have the result. The same behavior is observed on WebGL and Android builds.
This is the code we use to make the call:
PlayFabCloudScriptAPI.ExecuteFunction(request, (ExecuteFunctionResult result) => { LoadingManager.Instance.StopLoading("shopbuy result"); if (result.FunctionResult != null) { if (CheckGlobalError(result.FunctionResult.ToString())) return; //Debug.Log(result.FunctionResult.ToString()); ShopManager.Instance.ParseCallResponse(result.FunctionResult, false); } else { ShopManager.Instance.ParseCallResponse(null); OnPurchaseFailed(); } }