Skip to content

Commit c7ecfb2

Browse files
committed
Update readme with data from new builds
1 parent 30356de commit c7ecfb2

File tree

1 file changed

+34
-27
lines changed

1 file changed

+34
-27
lines changed

README.md

+34-27
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
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 2022.3](https://img.shields.io/badge/tested%20up%20to%20unity-2022.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 2023.1](https://img.shields.io/badge/tested%20up%20to%20unity-2023.1-green.svg?logo=unity&cacheSeconds=2592000)](https://unity3d.com/get-unity/download/archive)
66

7-
*Testing Unity's WebGL size and loading time for different versions (2018.4 - 2022.3) and platforms*
7+
*Testing Unity's WebGL size and loading time for different versions (2018.4 - 2023.1) and platforms*
88

99
* [Unity Forum Thread](https://forum.unity.com/threads/webgl-builds-for-mobile.545877/)
1010
* [Overview page of all builds](https://deml.io/experiments/unity-webgl/)
@@ -20,7 +20,7 @@
2020
![Debug Console Screenshot with description of features](./Documentation/DebugConsole.png)
2121
* Unity Rich text styling support for browser console & debug console
2222
![Screenshot of styled unity log message in browser console](./Documentation/UnityRichTextSupport.png)
23-
* Easy access to unity functions through the browser console ([Demo](https://deml.io/experiments/unity-webgl/2020.3.23f1/)|[Youtube](https://youtu.be/OjypxsD6XMI))
23+
* Easy access to unity functions through the browser console ([Youtube](https://youtu.be/OjypxsD6XMI))
2424
* Handy debug functions for times and memory consumption
2525
* Responsive template layout for maximum mobile compatibility
2626
* Github Actions to automatically build the project and deploy it on the server via [Game CI](https://game.ci/)
@@ -29,63 +29,70 @@
2929

3030
## Live Demos
3131

32+
3233
### Built-in Renderpipeline WebGL2
3334
Version | Size | Link
3435
--- | --- | ---
35-
2022.2.12f1 | 3.04 MB | https://deml.io/experiments/unity-webgl/2022.2.12f1-webgl2
36-
2022.1.24f1 | 2.80 MB | https://deml.io/experiments/unity-webgl/2022.1.24f1-webgl2
37-
2021.3.21f1 | 2.75 MB | https://deml.io/experiments/unity-webgl/2021.3.21f1-webgl2
36+
2023.1.20f1 | 3.09 MB | https://deml.io/experiments/unity-webgl/2023.1.20f1-webgl2
37+
2022.3.15f1 | 3.06 MB | https://deml.io/experiments/unity-webgl/2022.3.15f1-webgl2
38+
2022.2.18f1 | 3.05 MB | https://deml.io/experiments/unity-webgl/2022.2.18f1-webgl2
39+
2022.1.24f1 | 2.81 MB | https://deml.io/experiments/unity-webgl/2022.1.24f1-webgl2
40+
2021.3.33f1 | 2.76 MB | https://deml.io/experiments/unity-webgl/2021.3.33f1-webgl2
3841
2021.2.19f1 | 2.74 MB | https://deml.io/experiments/unity-webgl/2021.2.19f1-webgl2
3942
2021.1.28f1 | 2.94 MB | https://deml.io/experiments/unity-webgl/2021.1.28f1-webgl2
40-
2020.3.46f1 | 2.94 MB | https://deml.io/experiments/unity-webgl/2020.3.46f1-webgl2
43+
2020.3.48f1 | 2.95 MB | https://deml.io/experiments/unity-webgl/2020.3.48f1-webgl2
4144
2019.4.40f1 | 3.05 MB | https://deml.io/experiments/unity-webgl/2019.4.40f1-webgl2
4245
2018.4.36f1 | 2.84 MB | https://deml.io/experiments/unity-webgl/2018.4.36f1-webgl2
4346

4447
### Built-in Renderpipeline WebGL1
4548
Version | Size | Link
4649
--- | --- | ---
47-
2022.2.12f1 | 3.02 MB | https://deml.io/experiments/unity-webgl/2022.2.12f1-webgl1
48-
2022.1.24f1 | 2.78 MB | https://deml.io/experiments/unity-webgl/2022.1.24f1-webgl1
49-
2021.3.21f1 | 2.73 MB | https://deml.io/experiments/unity-webgl/2021.3.21f1-webgl1
50+
2022.2.18f1 | 3.03 MB | https://deml.io/experiments/unity-webgl/2022.2.18f1-webgl1
51+
2022.1.24f1 | 2.79 MB | https://deml.io/experiments/unity-webgl/2022.1.24f1-webgl1
52+
2021.3.33f1 | 2.74 MB | https://deml.io/experiments/unity-webgl/2021.3.33f1-webgl1
5053
2021.2.19f1 | 2.72 MB | https://deml.io/experiments/unity-webgl/2021.2.19f1-webgl1
5154
2021.1.28f1 | 2.92 MB | https://deml.io/experiments/unity-webgl/2021.1.28f1-webgl1
52-
2020.3.46f1 | 2.92 MB | https://deml.io/experiments/unity-webgl/2020.3.46f1-webgl1
55+
2020.3.48f1 | 2.93 MB | https://deml.io/experiments/unity-webgl/2020.3.48f1-webgl1
5356
2019.4.40f1 | 3.01 MB | https://deml.io/experiments/unity-webgl/2019.4.40f1-webgl1
5457
2018.4.36f1 | 2.82 MB | https://deml.io/experiments/unity-webgl/2018.4.36f1-webgl1
5558

5659
### Built-in Renderpipeline WebGL1 Minimum size
5760
Version | Size | Link
5861
--- | --- | ---
59-
2022.2.12f1 | 2.67 MB | https://deml.io/experiments/unity-webgl/2022.2.12f1-minsize-webgl1
62+
2023.1.20f1 | 2.85 MB | https://deml.io/experiments/unity-webgl/2023.1.20f1-minsize-webgl2
63+
2022.2.18f1 | 2.68 MB | https://deml.io/experiments/unity-webgl/2022.2.18f1-minsize-webgl1
6064
2022.1.24f1 | 2.63 MB | https://deml.io/experiments/unity-webgl/2022.1.24f1-minsize-webgl1
61-
2021.3.21f1 | 2.57 MB | https://deml.io/experiments/unity-webgl/2021.3.21f1-minsize-webgl1
65+
2021.3.33f1 | 2.61 MB | https://deml.io/experiments/unity-webgl/2021.3.33f1-minsize-webgl1
6266
2021.2.19f1 | 2.56 MB | https://deml.io/experiments/unity-webgl/2021.2.19f1-minsize-webgl1
6367
2021.1.28f1 | 2.47 MB | https://deml.io/experiments/unity-webgl/2021.1.28f1-minsize-webgl1
64-
2020.3.46f1 | 2.47 MB | https://deml.io/experiments/unity-webgl/2020.3.46f1-minsize-webgl1
68+
2020.3.48f1 | 2.48 MB | https://deml.io/experiments/unity-webgl/2020.3.48f1-minsize-webgl1
6569
2019.4.40f1 | 2.96 MB | https://deml.io/experiments/unity-webgl/2019.4.40f1-minsize-webgl1
6670
2018.4.36f1 | 2.77 MB | https://deml.io/experiments/unity-webgl/2018.4.36f1-minsize-webgl1
6771

6872
### URP WebGL2
6973
Version | Size | Link
7074
--- | --- | ---
71-
2022.2.12f1 | 7.16 MB | https://deml.io/experiments/unity-webgl/2022.2.12f1-urp-webgl2
72-
2022.1.24f1 | 6.44 MB | https://deml.io/experiments/unity-webgl/2022.1.24f1-urp-webgl2
73-
2021.3.21f1 | 6.24 MB | https://deml.io/experiments/unity-webgl/2021.3.21f1-urp-webgl2
75+
2023.1.20f1 | 6.05 MB | https://deml.io/experiments/unity-webgl/2023.1.20f1-urp-webgl2
76+
2022.3.15f1 | 5.70 MB | https://deml.io/experiments/unity-webgl/2022.3.15f1-urp-webgl2
77+
2022.2.18f1 | 7.21 MB | https://deml.io/experiments/unity-webgl/2022.2.18f1-urp-webgl2
78+
2022.1.24f1 | 6.45 MB | https://deml.io/experiments/unity-webgl/2022.1.24f1-urp-webgl2
79+
2021.3.33f1 | 6.30 MB | https://deml.io/experiments/unity-webgl/2021.3.33f1-urp-webgl2
7480
2021.2.19f1 | 6.17 MB | https://deml.io/experiments/unity-webgl/2021.2.19f1-urp-webgl2
7581
2021.1.28f1 | 5.81 MB | https://deml.io/experiments/unity-webgl/2021.1.28f1-urp-webgl2
76-
2020.3.46f1 | 5.59 MB | https://deml.io/experiments/unity-webgl/2020.3.46f1-urp-webgl2
82+
2020.3.48f1 | 5.59 MB | https://deml.io/experiments/unity-webgl/2020.3.48f1-urp-webgl2
7783
2019.4.40f1 | 5.56 MB | https://deml.io/experiments/unity-webgl/2019.4.40f1-urp-webgl2
7884
2018.4.36f1 | 2.81 MB | https://deml.io/experiments/unity-webgl/2018.4.36f1-urp-webgl2
7985

8086
### URP WebGL1
8187
Version | Size | Link
8288
--- | --- | ---
83-
2022.2.12f1 | 7.02 MB | https://deml.io/experiments/unity-webgl/2022.2.12f1-urp-webgl1
89+
2022.3.15f1 | 5.67 MB | https://deml.io/experiments/unity-webgl/2022.3.15f1-urp-webgl1
90+
2022.2.18f1 | 7.08 MB | https://deml.io/experiments/unity-webgl/2022.2.18f1-urp-webgl1
8491
2022.1.24f1 | 6.30 MB | https://deml.io/experiments/unity-webgl/2022.1.24f1-urp-webgl1
85-
2021.3.21f1 | 6.07 MB | https://deml.io/experiments/unity-webgl/2021.3.21f1-urp-webgl1
92+
2021.3.33f1 | 6.12 MB | https://deml.io/experiments/unity-webgl/2021.3.33f1-urp-webgl1
8693
2021.2.19f1 | 5.99 MB | https://deml.io/experiments/unity-webgl/2021.2.19f1-urp-webgl1
8794
2021.1.28f1 | 5.57 MB | https://deml.io/experiments/unity-webgl/2021.1.28f1-urp-webgl1
88-
2020.3.46f1 | 5.42 MB | https://deml.io/experiments/unity-webgl/2020.3.46f1-urp-webgl1
95+
2020.3.48f1 | 5.43 MB | https://deml.io/experiments/unity-webgl/2020.3.48f1-urp-webgl1
8996
2019.4.40f1 | 5.51 MB | https://deml.io/experiments/unity-webgl/2019.4.40f1-urp-webgl1
9097
2018.4.36f1 | 2.80 MB | https://deml.io/experiments/unity-webgl/2018.4.36f1-urp-webgl1
9198

@@ -129,15 +136,15 @@ Version | Size | Link
129136
* In general the performance for URP seems to be better compared to builtin, but it has a larger build size.
130137
* With Unity 2021.2 there is currently a problem with shader compilation and therefore builds fail:
131138
```
132-
Shader error in 'Hidden/Universal/CoreBlit': invalid subscript 'positionCS' at
139+
Shader error in 'Hidden/Universal/CoreBlit': invalid subscript 'positionCS' at
133140
UnityWebGL-LoadingTest/Library/PackageCache/[email protected]/Runtime/Utilities/Blit.hlsl(92) (on gles)
134141
Compiling Vertex program with DISABLE_TEXTURE2D_X_ARRAY
135142
Platform defines: SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_ENABLE_DETAIL_NORMALMAP UNITY_LIGHTMAP_RGBM_ENCODING UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
136143
Disabled keywords: BLIT_SINGLE_SLICE SHADER_API_GLES30 UNITY_ASTC_NORMALMAP_ENCODING UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_NO_FULL_STANDARD_SHADER UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_UNIFIED_SHADER_PRECISION_MODEL UNITY_VIRTUAL_TEXTURING
137-
138-
144+
145+
139146
Shader error in 'Hidden/kMotion/CameraMotionVectors': SV_VertexID semantic is not supported on GLES 2.0 at line 11 (on gles)
140-
147+
141148
Compiling Subshader: 0, Pass: , Vertex program with <no keywords>
142149
Platform defines: SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_ENABLE_DETAIL_NORMALMAP UNITY_LIGHTMAP_RGBM_ENCODING UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
143150
Disabled keywords: SHADER_API_GLES30 UNITY_ASTC_NORMALMAP_ENCODING UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_NO_FULL_STANDARD_SHADER UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_UNIFIED_SHADER_PRECISION_MODEL UNITY_VIRTUAL_TEXTURING
@@ -146,15 +153,15 @@ Version | Size | Link
146153
* Unity 2022.1 has problems building for URP with WebGL1 (also on desktop), error:
147154
```
148155
Texture creation failed. 'ShadowAuto' is not supported for Render usage on this platform. Use 'SystemInfo.IsFormatSupported' C# API to check format support.
149-
156+
150157
NullReferenceException: Object reference not set to an instance of an object.
151158
```
152159

153160
### Min Size builds
154161
* Built with `Tools/Build WebGL/minsize`
155162
* Built with Code Optimization: `Size`
156163
* Enable Exceptions: `None`
157-
* C++ Compiler Configuration: `Master`
164+
* C++ Compiler Configuration: `Master`
158165

159166
## Browser Console commands
160167

0 commit comments

Comments
 (0)