generated from CareBoo/UPMTemplate-2020
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(webgl): fix webgl errors being caused in player test builds
- Loading branch information
1 parent
62b014b
commit f7ee641
Showing
13 changed files
with
1,267 additions
and
44 deletions.
There are no files selected for viewing
1,169 changes: 1,160 additions & 9 deletions
1,169
Runtime/CareBoo.AlgoSdk.Crypto/Plugins/WebGL/sha512.min.jspre
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
Unity.AlgoSdk.AssetStore/Assets/Editor/WebglPreBuildProcessing.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using UnityEditor.Build; | ||
using UnityEditor.Build.Reporting; | ||
|
||
public class WebglPreBuildProcessing : IPreprocessBuildWithReport | ||
{ | ||
public int callbackOrder => 1; | ||
public void OnPreprocessBuild(BuildReport report) | ||
{ | ||
System.Environment.SetEnvironmentVariable("EMSDK_PYTHON", "/Users/jason/.asdf/installs/python/3.9.11/bin/python3.9"); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
Unity.AlgoSdk.AssetStore/Assets/Editor/WebglPreBuildProcessing.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
Unity.AlgoSdk.AssetStore/ProjectSettings/BurstAotSettings_WebGL.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"MonoBehaviour": { | ||
"Version": 3, | ||
"EnableBurstCompilation": true, | ||
"EnableOptimisations": true, | ||
"EnableSafetyChecks": false, | ||
"EnableDebugInAllBuilds": false, | ||
"CpuMinTargetX32": 0, | ||
"CpuMaxTargetX32": 0, | ||
"CpuMinTargetX64": 0, | ||
"CpuMaxTargetX64": 0 | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
Unity.AlgoSdk.AssetStore/ProjectSettings/CommonBurstAotSettings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"MonoBehaviour": { | ||
"Version": 3, | ||
"DisabledWarnings": "" | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
Unity.AlgoSdk.AssetStore/ProjectSettings/ProjectSettings.asset
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
m_EditorVersion: 2020.3.31f1 | ||
m_EditorVersionWithRevision: 2020.3.31f1 (6b54b7616050) | ||
m_EditorVersion: 2020.3.36f1 | ||
m_EditorVersionWithRevision: 2020.3.36f1 (71f96b79b9f0) |