Skip to content

Commit 985be4b

Browse files
committed
Upgrade to support Unity 2020.3.21f1 LTS
1 parent 50eb288 commit 985be4b

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

Assets/Photon/PhotonUnityNetworking/Code/Editor/PhotonEditorUtils.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public static void StartCoroutine(System.Collections.IEnumerator update)
206206

207207
EditorApplication.update += closureCallback;
208208
}
209-
209+
210210
public static System.Collections.IEnumerator HttpPost(string url, Dictionary<string, string> headers, byte[] payload, Action<string> successCallback, Action<string> errorCallback)
211211
{
212212
using (UnityWebRequest w = new UnityWebRequest(url, "POST"))
@@ -234,7 +234,7 @@ public static System.Collections.IEnumerator HttpPost(string url, Dictionary<str
234234
yield return null;
235235

236236
#if UNITY_2017_1_OR_NEWER
237-
if (w.isNetworkError || w.isHttpError)
237+
if (w.result == UnityWebRequest.Result.ConnectionError || w.result == UnityWebRequest.Result.ProtocolError)
238238
#else
239239
if (w.isError)
240240
#endif
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
1.55 KB
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.

Packages/manifest.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"com.unity.2d.tilemap": "1.0.0",
55
"com.unity.ext.nunit": "1.0.6",
66
"com.unity.ide.rider": "2.0.7",
7-
"com.unity.ide.visualstudio": "2.0.7",
8-
"com.unity.ide.vscode": "1.2.3",
9-
"com.unity.postprocessing": "3.0.3",
10-
"com.unity.test-framework": "1.1.24",
7+
"com.unity.ide.visualstudio": "2.0.11",
8+
"com.unity.ide.vscode": "1.2.4",
9+
"com.unity.postprocessing": "3.1.1",
10+
"com.unity.test-framework": "1.1.30",
1111
"com.unity.ugui": "1.0.0",
1212
"com.unity.modules.ai": "1.0.0",
1313
"com.unity.modules.androidjni": "1.0.0",

Packages/packages-lock.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"url": "https://packages.unity.com"
3030
},
3131
"com.unity.ide.visualstudio": {
32-
"version": "2.0.7",
32+
"version": "2.0.11",
3333
"depth": 0,
3434
"source": "registry",
3535
"dependencies": {
@@ -38,14 +38,14 @@
3838
"url": "https://packages.unity.com"
3939
},
4040
"com.unity.ide.vscode": {
41-
"version": "1.2.3",
41+
"version": "1.2.4",
4242
"depth": 0,
4343
"source": "registry",
4444
"dependencies": {},
4545
"url": "https://packages.unity.com"
4646
},
4747
"com.unity.postprocessing": {
48-
"version": "3.0.3",
48+
"version": "3.1.1",
4949
"depth": 0,
5050
"source": "registry",
5151
"dependencies": {
@@ -54,7 +54,7 @@
5454
"url": "https://packages.unity.com"
5555
},
5656
"com.unity.test-framework": {
57-
"version": "1.1.24",
57+
"version": "1.1.30",
5858
"depth": 0,
5959
"source": "registry",
6060
"dependencies": {

ProjectSettings/ProjectVersion.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
m_EditorVersion: 2020.3.4f1
2-
m_EditorVersionWithRevision: 2020.3.4f1 (0abb6314276a)
1+
m_EditorVersion: 2020.3.21f1
2+
m_EditorVersionWithRevision: 2020.3.21f1 (a38c86f6690f)

0 commit comments

Comments
 (0)