Skip to content

Releases: JohannesDeml/UnityWebGL-LoadingTest

1.3.0

14 Jul 19:25
532f9bc
Compare
Choose a tag to compare

Changes

  • Add more cheats to control number of spawners
  • In general make scene more performance heavy to get to performance limits faster
  • Add FPS tracking

Templates & Build script

  • Use LTO for building the project
  • Support webGPU as build target
  • Add bundle version number to html div to make the version more visible

Updates unity versions

Built-in Renderpipeline WebGL2

Version Size Link
6000.0.9f1 3.26 MB https://deml.io/experiments/unity-webgl/6000.0.9f1-webgl2
2023.2.20f1 3.23 MB https://deml.io/experiments/unity-webgl/2023.2.20f1-webgl2
2023.1.20f1 3.14 MB https://deml.io/experiments/unity-webgl/2023.1.20f1-webgl2
2022.3.36f1 3.12 MB https://deml.io/experiments/unity-webgl/2022.3.36f1-webgl2
2021.3.35f1 2.78 MB https://deml.io/experiments/unity-webgl/2021.3.35f1-webgl2
2020.3.48f1 2.96 MB https://deml.io/experiments/unity-webgl/2020.3.48f1-webgl2

Built-in Renderpipeline WebGL1

Version Size Link
2022.3.36f1 3.10 MB https://deml.io/experiments/unity-webgl/2022.3.36f1-webgl1
2021.3.35f1 2.76 MB https://deml.io/experiments/unity-webgl/2021.3.35f1-webgl1
2020.3.48f1 2.94 MB https://deml.io/experiments/unity-webgl/2020.3.48f1-webgl1

Built-in Renderpipeline Minimum size

Version Size Link
6000.0.9f1 3.16 MB https://deml.io/experiments/unity-webgl/6000.0.9f1-minsize-webgl2
2023.2.20f1 2.85 MB https://deml.io/experiments/unity-webgl/2023.2.20f1-minsize-webgl2
2023.1.20f1 2.72 MB https://deml.io/experiments/unity-webgl/2023.1.20f1-minsize-webgl2
2022.3.36f1 2.69 MB https://deml.io/experiments/unity-webgl/2022.3.36f1-minsize-webgl1
2021.3.35f1 2.73 MB https://deml.io/experiments/unity-webgl/2021.3.35f1-minsize-webgl1
2020.3.48f1 2.48 MB https://deml.io/experiments/unity-webgl/2020.3.48f1-minsize-webgl1

URP WebGL2

Version Size Link
6000.0.9f1 7.27 MB https://deml.io/experiments/unity-webgl/6000.0.9f1-urp-webgl2
2023.2.20f1 6.87 MB https://deml.io/experiments/unity-webgl/2023.2.20f1-urp-webgl2
2023.1.20f1 6.25 MB https://deml.io/experiments/unity-webgl/2023.1.20f1-urp-webgl2
2022.3.36f1 5.92 MB https://deml.io/experiments/unity-webgl/2022.3.36f1-urp-webgl2
2021.3.35f1 6.31 MB https://deml.io/experiments/unity-webgl/2021.3.35f1-urp-webgl2
2020.3.48f1 5.60 MB https://deml.io/experiments/unity-webgl/2020.3.48f1-urp-webgl2

URP WebGL1

Version Size Link
2022.3.36f1 5.89 MB https://deml.io/experiments/unity-webgl/2022.3.36f1-urp-webgl1
2021.3.35f1 6.13 MB https://deml.io/experiments/unity-webgl/2021.3.35f1-urp-webgl1
2020.3.48f1 5.44 MB https://deml.io/experiments/unity-webgl/2020.3.48f1-urp-webgl1

URP Minimum Size

Version Size Link
6000.0.9f1 6.51 MB https://deml.io/experiments/unity-webgl/6000.0.9f1-urp-minsize-webgl2
2023.2.20f1 5.30 MB https://deml.io/experiments/unity-webgl/2023.2.20f1-urp-minsize-webgl2
2023.1.20f1 5.71 MB https://deml.io/experiments/unity-webgl/2023.1.20f1-urp-minsize-webgl2
2022.3.36f1 4.64 MB https://deml.io/experiments/unity-webgl/2022.3.36f1-urp-minsize-webgl1
2021.3.35f1 6.11 MB https://deml.io/experiments/unity-webgl/2021.3.35f1-urp-minsize-webgl1
2020.3.48f1 4.86 MB https://deml.io/experiments/unity-webgl/2020.3.48f1-urp-minsize-webgl1

1.2.0

07 Dec 19:48
c7ecfb2
Compare
Choose a tag to compare

Changes

  • Add option to open the debug console right away by adding index.html?debug=true - useful for testing devices in which you can't click the button.
  • Improve html console logging to not destroy normal logs that are not strings
  • Add rich text parsing to release template

Templates & Build script

  • Improve workflow files to get better stability and less room for errors
  • update ci builder to v4
  • Get CI to work with 2023.1 again

Updates unity versions

Built-in Renderpipeline WebGL2

Version Size Link
2023.1.20f1 3.09 MB https://deml.io/experiments/unity-webgl/2023.1.20f1-webgl2
2022.3.15f1 3.06 MB https://deml.io/experiments/unity-webgl/2022.3.15f1-webgl2
2022.2.18f1 3.05 MB https://deml.io/experiments/unity-webgl/2022.2.18f1-webgl2
2022.1.24f1 2.81 MB https://deml.io/experiments/unity-webgl/2022.1.24f1-webgl2
2021.3.33f1 2.76 MB https://deml.io/experiments/unity-webgl/2021.3.33f1-webgl2
2021.2.19f1 2.74 MB https://deml.io/experiments/unity-webgl/2021.2.19f1-webgl2
2021.1.28f1 2.94 MB https://deml.io/experiments/unity-webgl/2021.1.28f1-webgl2
2020.3.48f1 2.95 MB https://deml.io/experiments/unity-webgl/2020.3.48f1-webgl2
2019.4.40f1 3.05 MB https://deml.io/experiments/unity-webgl/2019.4.40f1-webgl2
2018.4.36f1 2.84 MB https://deml.io/experiments/unity-webgl/2018.4.36f1-webgl2

Built-in Renderpipeline WebGL1

Version Size Link
2022.2.18f1 3.03 MB https://deml.io/experiments/unity-webgl/2022.2.18f1-webgl1
2022.1.24f1 2.79 MB https://deml.io/experiments/unity-webgl/2022.1.24f1-webgl1
2021.3.33f1 2.74 MB https://deml.io/experiments/unity-webgl/2021.3.33f1-webgl1
2021.2.19f1 2.72 MB https://deml.io/experiments/unity-webgl/2021.2.19f1-webgl1
2021.1.28f1 2.92 MB https://deml.io/experiments/unity-webgl/2021.1.28f1-webgl1
2020.3.48f1 2.93 MB https://deml.io/experiments/unity-webgl/2020.3.48f1-webgl1
2019.4.40f1 3.01 MB https://deml.io/experiments/unity-webgl/2019.4.40f1-webgl1
2018.4.36f1 2.82 MB https://deml.io/experiments/unity-webgl/2018.4.36f1-webgl1

Built-in Renderpipeline WebGL1 Minimum size

Version Size Link
2023.1.20f1 2.85 MB https://deml.io/experiments/unity-webgl/2023.1.20f1-minsize-webgl2
2022.2.18f1 2.68 MB https://deml.io/experiments/unity-webgl/2022.2.18f1-minsize-webgl1
2022.1.24f1 2.63 MB https://deml.io/experiments/unity-webgl/2022.1.24f1-minsize-webgl1
2021.3.33f1 2.61 MB https://deml.io/experiments/unity-webgl/2021.3.33f1-minsize-webgl1
2021.2.19f1 2.56 MB https://deml.io/experiments/unity-webgl/2021.2.19f1-minsize-webgl1
2021.1.28f1 2.47 MB https://deml.io/experiments/unity-webgl/2021.1.28f1-minsize-webgl1
2020.3.48f1 2.48 MB https://deml.io/experiments/unity-webgl/2020.3.48f1-minsize-webgl1
2019.4.40f1 2.96 MB https://deml.io/experiments/unity-webgl/2019.4.40f1-minsize-webgl1
2018.4.36f1 2.77 MB https://deml.io/experiments/unity-webgl/2018.4.36f1-minsize-webgl1

URP WebGL2

Version Size Link
2023.1.20f1 6.05 MB https://deml.io/experiments/unity-webgl/2023.1.20f1-urp-webgl2
2022.3.15f1 5.70 MB https://deml.io/experiments/unity-webgl/2022.3.15f1-urp-webgl2
2022.2.18f1 7.21 MB https://deml.io/experiments/unity-webgl/2022.2.18f1-urp-webgl2
2022.1.24f1 6.45 MB https://deml.io/experiments/unity-webgl/2022.1.24f1-urp-webgl2
2021.3.33f1 6.30 MB https://deml.io/experiments/unity-webgl/2021.3.33f1-urp-webgl2
2021.2.19f1 6.17 MB https://deml.io/experiments/unity-webgl/2021.2.19f1-urp-webgl2
2021.1.28f1 5.81 MB https://deml.io/experiments/unity-webgl/2021.1.28f1-urp-webgl2
2020.3.48f1 5.59 MB https://deml.io/experiments/unity-webgl/2020.3.48f1-urp-webgl2
2019.4.40f1 5.56 MB https://deml.io/experiments/unity-webgl/2019.4.40f1-urp-webgl2
2018.4.36f1 2.81 MB https://deml.io/experiments/unity-webgl/2018.4.36f1-urp-webgl2

URP WebGL1

Version Size Link
2022.3.15f1 5.67 MB https://deml.io/experiments/unity-webgl/2022.3.15f1-urp-webgl1
2022.2.18f1 7.08 MB https://deml.io/experiments/unity-webgl/2022.2.18f1-urp-webgl1
2022.1.24f1 6.30 MB https://deml.io/experiments/unity-webgl/2022.1.24f1-urp-webgl1
2021.3.33f1 6.12 MB https://deml.io/experiments/unity-webgl/2021.3.33f1-urp-webgl1
2021.2.19f1 5.99 MB https://deml.io/experiments/unity-webgl/2021.2.19f1-urp-webgl1
2021.1.28f1 5.57 MB https://deml.io/experiments/unity-webgl/2021.1.28f1-urp-webgl1
2020.3.48f1 5.43 MB https://deml.io/experiments/unity-webgl/2020.3.48f1-urp-webgl1
2019.4.40f1 5.51 MB https://deml.io/experiments/unity-webgl/2019.4.40f1-urp-webgl1
2018.4.36f1 2.80 MB https://deml.io/experiments/unity-webgl/2018.4.36f1-urp-webgl1

1.1.0

01 Apr 08:14
343a354
Compare
Choose a tag to compare

Version 1.1.0 comes without any groundbreaking new changes, but quite a few quality of life improvements and updated unity builds for all versions.

Changes

Debug console

DebugConsole

  • Support for filtering for different message types + counting of the number of messages per type (similar to what you're used to in unity)
  • Support for timestamps of messages in the debug console, this can also be toggled on and off at any time
  • Debug console button now glows red if a new error / exception happened, so you won't miss them
  • Icon cleanup, only relying on emojis now

WebGL commands

  • ThrowDictionaryException: Command for throwing a system exception (Dictionary KeyNotFound) - Useful to see how the stacktrace differs for debug and release builds. Also interesting, that Unity 2021.3+ manages to show additional information on what key was the input (Nice job, Unity!)
  • LogTextureSupport: Logs supported and unsupported texture formats on that platform. Handy way to find out what you should use for your target platform
  • DeleteAllPlayerPrefs, LogShaderCompilation, UnloadUnusedAssets: Handy methods from unity that you will sometimes need to debug stuff

Templates & Build script

  • Switch to Use Files as Hashes - This should make sure no wrongly cached files are found of previous versions
  • Switch template to release if target is minsize - this removes the overhead of the develop template to get a better idea of the minimum size we can reach
  • Proper support of logging for manual builds
  • Backup last build if it already exists - Handy for manual building as well & makes sure no leftovers of previous builds are in the new build folder
  • Fix height of player on iOS to also take the height of the browser menu bar into consideration

Updates unity versions

Built-in Renderpipeline WebGL2

Version Size Link
2022.2.12f1 3.04 MB https://deml.io/experiments/unity-webgl/2022.2.12f1-webgl2
2022.1.24f1 2.80 MB https://deml.io/experiments/unity-webgl/2022.1.24f1-webgl2
2021.3.21f1 2.75 MB https://deml.io/experiments/unity-webgl/2021.3.21f1-webgl2
2021.2.19f1 2.74 MB https://deml.io/experiments/unity-webgl/2021.2.19f1-webgl2
2021.1.28f1 2.94 MB https://deml.io/experiments/unity-webgl/2021.1.28f1-webgl2
2020.3.46f1 2.94 MB https://deml.io/experiments/unity-webgl/2020.3.46f1-webgl2
2019.4.40f1 3.05 MB https://deml.io/experiments/unity-webgl/2019.4.40f1-webgl2
2018.4.36f1 2.84 MB https://deml.io/experiments/unity-webgl/2018.4.36f1-webgl2

Built-in Renderpipeline WebGL1

Version Size Link
2022.2.12f1 3.02 MB https://deml.io/experiments/unity-webgl/2022.2.12f1-webgl1
2022.1.24f1 2.78 MB https://deml.io/experiments/unity-webgl/2022.1.24f1-webgl1
2021.3.21f1 2.73 MB https://deml.io/experiments/unity-webgl/2021.3.21f1-webgl1
2021.2.19f1 2.72 MB https://deml.io/experiments/unity-webgl/2021.2.19f1-webgl1
2021.1.28f1 2.92 MB https://deml.io/experiments/unity-webgl/2021.1.28f1-webgl1
2020.3.46f1 2.92 MB https://deml.io/experiments/unity-webgl/2020.3.46f1-webgl1
2019.4.40f1 3.01 MB https://deml.io/experiments/unity-webgl/2019.4.40f1-webgl1
2018.4.36f1 2.82 MB https://deml.io/experiments/unity-webgl/2018.4.36f1-webgl1

Built-in Renderpipeline WebGL1 Minimum size

Version Size Link
2022.2.12f1 2.67 MB https://deml.io/experiments/unity-webgl/2022.2.12f1-minsize-webgl1
2022.1.24f1 2.63 MB https://deml.io/experiments/unity-webgl/2022.1.24f1-minsize-webgl1
2021.3.21f1 2.57 MB https://deml.io/experiments/unity-webgl/2021.3.21f1-minsize-webgl1
2021.2.19f1 2.56 MB https://deml.io/experiments/unity-webgl/2021.2.19f1-minsize-webgl1
2021.1.28f1 2.47 MB https://deml.io/experiments/unity-webgl/2021.1.28f1-minsize-webgl1
2020.3.46f1 2.47 MB https://deml.io/experiments/unity-webgl/2020.3.46f1-minsize-webgl1
2019.4.40f1 2.96 MB https://deml.io/experiments/unity-webgl/2019.4.40f1-minsize-webgl1
2018.4.36f1 2.77 MB https://deml.io/experiments/unity-webgl/2018.4.36f1-minsize-webgl1

URP WebGL2

Version Size Link
2022.2.12f1 7.16 MB https://deml.io/experiments/unity-webgl/2022.2.12f1-urp-webgl2
2022.1.24f1 6.44 MB https://deml.io/experiments/unity-webgl/2022.1.24f1-urp-webgl2
2021.3.21f1 6.24 MB https://deml.io/experiments/unity-webgl/2021.3.21f1-urp-webgl2
2021.2.19f1 6.17 MB https://deml.io/experiments/unity-webgl/2021.2.19f1-urp-webgl2
2021.1.28f1 5.81 MB https://deml.io/experiments/unity-webgl/2021.1.28f1-urp-webgl2
2020.3.46f1 5.59 MB https://deml.io/experiments/unity-webgl/2020.3.46f1-urp-webgl2
2019.4.40f1 5.56 MB https://deml.io/experiments/unity-webgl/2019.4.40f1-urp-webgl2
2018.4.36f1 2.81 MB https://deml.io/experiments/unity-webgl/2018.4.36f1-urp-webgl2

URP WebGL1

Version Size Link
2022.2.12f1 7.02 MB https://deml.io/experiments/unity-webgl/2022.2.12f1-urp-webgl1
2022.1.24f1 6.30 MB https://deml.io/experiments/unity-webgl/2022.1.24f1-urp-webgl1
2021.3.21f1 6.07 MB https://deml.io/experiments/unity-webgl/2021.3.21f1-urp-webgl1
2021.2.19f1 5.99 MB https://deml.io/experiments/unity-webgl/2021.2.19f1-urp-webgl1
2021.1.28f1 5.57 MB https://deml.io/experiments/unity-webgl/2021.1.28f1-urp-webgl1
2020.3.46f1 5.42 MB https://deml.io/experiments/unity-webgl/2020.3.46f1-urp-webgl1
2019.4.40f1 5.51 MB https://deml.io/experiments/unity-webgl/2019.4.40f1-urp-webgl1
2018.4.36f1 2.80 MB https://deml.io/experiments/unity-webgl/2018.4.36f1-urp-webgl1

This version will be the last one to update the following versions:

  • 2018.4
  • 2019.4
  • 2021.1
  • 2021.2

1.0.0 - Github Action for Unity Updates

20 Jan 22:20
5943a49
Compare
Choose a tag to compare

This version marks a milestone in the project. While quite a bit of manual work was required to update unity versions and build them, now it is possible to do almost everything with the newly added workflow to upgrade unity versions with the click of a button. Additionally, some nice polishing touches have been added to the debug console and the overview page of all available builds. Since versions are now easier to upgrade, I consider creating releases with my own versioning rather than the unity versions, since I will probably upgrade multiple version branches with new releases.

New Features

  • Debug Console now allows for copying all log messages, clearing the log, and toggling if the console should always scroll to bottom
    DebugConsole
  • New cleaned up page with all builds available to test including their build size: https://deml.io/experiments/unity-webgl/
    WebGLBuilds
  • New workflow to upgrade unity versions
    • Runs a script that also upgrades all packages to the latest version
    • Creates tags, that again trigger builds
    • Creates a PR for the branch it was started from to make sure no broken builds get pushed to the branch automatically
  • Fixed copying logic on iOS

New Builds

  • 2022.2.2f1
  • 2021.3.16f1
  • 2021.2.19f1
  • 2021.1.28.f1
  • 2020.3.44f1
  • Builds with same version for 2019.4 & 2018.4 to include new features

2022.2.0f1

13 Dec 13:18
2022.2.0f1
a447d28
Compare
Choose a tag to compare

2021.3.13f1

11 Nov 07:13
2021.3.13f1
733c0eb
Compare
Choose a tag to compare

Changes

  • Add unity debug log <color> support for browser and html console
  • Add html console input field for running javascript directly from there (such as running unity bridge commands, but can be anything really)
  • Cleanup folder structure and add assembly definition - makes it easier to pull this out into other projects

chrome_9MCoddRzcw

2021.3.13f1-webgl2
2021.3.13f1-webgl1
2021.3.13f1-urp-webgl2 Demo
2021.3.13f1-urp-webgl1 Demo
2021.3.13f1-minsize-webgl1 Demo

2020.3.38f1

23 Sep 14:07
2020.3.38f1
1833927
Compare
Choose a tag to compare

2022.1.8f1

08 Jul 23:23
2022.1.8f1
912e085
Compare
Choose a tag to compare

2021.3.6f1

08 Jul 16:01
2021.3.6f1
0449676
Compare
Choose a tag to compare

2021.3.6f1

Changes

  • Update to latest version of LTS (2021.3.6f1)
  • Update URP package to 21.1.7
  • Improvements for building from the editor menu items for quicker iterations outside of CI
  • With this Unity version there are no more regression problems with shader compilation 👍
  • I would now recommend to use WebGL2 even when targeting mobile browsers, since there is now solid support also from iOS for WebGL2

2021.3.6f1 Demo
2021.3.6f1-webgl2
2021.3.6f1-minsize Demo
2021.3.6f1-urp Demo
2021.3.6f1-urp-webgl2 Demo

2021.3.0f1

24 Apr 20:25
2021.3.0f1
f325b94
Compare
Choose a tag to compare

2021.3.0f1

Changes

  • Update to Unity 2021.3.0f1
  • Add option to build WebGL 2.0 in CI and in tool menu

2021.3.0f1 Demo
2021.3.0f1-webgl2
2021.3.0f1-minsize Demo
2021.3.0f1-urp WebGL1 Demo - Broken
2021.3.0f1-urp WebGL2 Demo

Notes

⚠️ All builds (except for URP WebGL 2 on android) don't work on mobile. Seems like they broke something with 2021.3.

⚠️ The URP build for WebGL 1 does not work anymore, there are the following shader compile problems:

Shader error in 'Hidden/Universal/CoreBlit': invalid subscript 'positionCS' at /Data/Documents/Unity/Own/UnityWebGL-LoadingTest/Library/PackageCache/[email protected]/Runtime/Utilities/Blit.hlsl(92) (on gles)

Compiling Subshader: 0, Pass: , Vertex program with DISABLE_TEXTURE2D_X_ARRAY
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
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 
Shader error in 'Hidden/kMotion/CameraMotionVectors': SV_VertexID semantic is not supported on GLES 2.0 at line 11 (on gles)

Compiling Subshader: 0, Pass: , Vertex program with <no keywords>
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
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