Skip to content

Commit d2991a8

Browse files
committed
Add new builds to the table
1 parent f37e7b6 commit d2991a8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@
22

33
![Preview](./preview.png)
44

5-
[![](https://img.shields.io/github/release-date/JohannesDeml/UnityWebGL-LoadingTest.svg)](https://github.com/JohannesDeml/UnityWebGL-LoadingTest/releases) [![Tested up to Unity 2020.2](https://img.shields.io/badge/tested%20up%20to%20unity-2020.3-green.svg?logo=unity&cacheSeconds=2592000)](https://unity3d.com/get-unity/download/archive)
5+
[![](https://img.shields.io/github/release-date/JohannesDeml/UnityWebGL-LoadingTest.svg)](https://github.com/JohannesDeml/UnityWebGL-LoadingTest/releases) [![Tested up to Unity 2020.2](https://img.shields.io/badge/tested%20up%20to%20unity-2021.1-green.svg?logo=unity&cacheSeconds=2592000)](https://unity3d.com/get-unity/download/archive)
66

77
*Testing Unity's WebGL capabilities for different versions and platforms*
88

99
## Live Demos
1010

1111
Version | Size | Link
1212
--- | --- | ---
13-
2018.2.3f1 | 2.97 MB | https://deml.io/experiments/unity-webgl/2018.2.3f1/
1413
2019.3.0f6 | 3.28 MB | https://deml.io/experiments/unity-webgl/2019.3.0f6/
15-
2020.0.1f1 | 2.86 MB | https://deml.io/experiments/unity-webgl/2020.1.0f1/
14+
2020.1.0f1 | 2.86 MB | https://deml.io/experiments/unity-webgl/2020.1.0f1/
1615
2020.2.0f1 | 2.82 MB | https://deml.io/experiments/unity-webgl/2020.2.0f1/
1716
2020.2.0f1 URP | 5.27 MB | https://deml.io/experiments/unity-webgl/2020.2.0f1-urp/
1817
2020.3.0f1 | 2.83 MB | https://deml.io/experiments/unity-webgl/2020.3.0f1/
1918
2020.3.0f1 URP | 5.27 MB | https://deml.io/experiments/unity-webgl/2020.3.0f1-urp/
19+
2021.1.0f1 | 2.85 MB | https://deml.io/experiments/unity-webgl/2021.1.0f1/
20+
2021.1.0f1 URP | 5.47 MB | https://deml.io/experiments/unity-webgl/2021.1.0f1-urp/
2021

2122
## Platforms
2223

@@ -40,11 +41,12 @@ Version | Size | Link
4041
## Notes
4142

4243
* The server is configured to support wasm streaming and brotli compression, see [.htaccess 2020](./Configuration/2020/.htaccess) [.htaccess 2019](./Configuration/2019/.htaccess)
44+
* The builds are optimized for speed. When switching to Size and changing the C++ config to Master, the size decreases by ~40 KB ( Example: [2021.1.0f1 Min Size (2.45MB)](https://deml.io/experiments/unity-webgl/2021.1.0f1-minsize/) ).
4345
* In order to get rid of the warning on android/iOS it is removed in a post process build step ([File](./Assets/Scripts/Editor/RemoveMobileSupportWarningWebBuild.cs))
4446
* You might need to reload the page on android/iOS when running the first time
4547
* This is a very small example. When building larger WebGL applications, you might run into problems with memory or compile errors. I recommend to build from the start and very often, to catch the changes that create those problems.
4648
* If you want to have the smallest file size possible, take a look at [Project Tiny](https://forum.unity.com/forums/project-tiny.151/) or web-specific libraries like [Three.js](https://threejs.org/).
47-
* URP adds additional 2.5 MB file size compared to the builtin render pipeline.
49+
* URP adds additional ~2.5 MB file size compared to the builtin render pipeline.
4850
* Removing the default skybox will save ~30kb.
4951
* In general the performance for URP seems to be better compared to builtin, but it has a larger build size.
5052
* Internet Explorer does not work for Unity WebGL builds, since it does not support wasm.

0 commit comments

Comments
 (0)