We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d73a26f commit 4b240faCopy full SHA for 4b240fa
Runtime/Client/LootLockerBaseServerAPI.cs
@@ -105,7 +105,12 @@ IEnumerator coroutine()
105
106
LootLockerResponse response = new LootLockerResponse();
107
response.statusCode = (int)webRequest.responseCode;
108
+#if UNITY_2020_1_OR_NEWER
109
if (webRequest.result == UnityWebRequest.Result.ProtocolError || webRequest.result == UnityWebRequest.Result.ConnectionError || !string.IsNullOrEmpty(webRequest.error))
110
+#else
111
+ if (webRequest.isHttpError || webRequest.isNetworkError || !string.IsNullOrEmpty(webRequest.error))
112
+#endif
113
+
114
{
115
switch (webRequest.responseCode)
116
0 commit comments