We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e03948f commit 368e5a7Copy full SHA for 368e5a7
Assets/Thirdweb/Plugins/ThreadingPatcher/Editor/WebGLThreadingPatcher.cs
@@ -18,7 +18,11 @@ public void OnPostBuildPlayerScriptDLLs(BuildReport report)
18
if (report.summary.platform != BuildTarget.WebGL)
19
return;
20
21
+#if UNITY_2022_1_OR_NEWER
22
var mscorLibDll = report.GetFiles().FirstOrDefault(f => f.path.EndsWith("mscorlib.dll")).path;
23
+#else
24
+ var mscorLibDll = report.files.FirstOrDefault(f => f.path.EndsWith("mscorlib.dll")).path;
25
+#endif
26
if (mscorLibDll == null)
27
{
28
Debug.LogError("Can't find mscorlib.dll in build dll files");
0 commit comments