WebGL build of custom app is not working properly

I have problem with WebGL build from ci. In the ci are running StandaloneWindows64 and WebGL build.

StandaloneWindows64 build from ci works fine.

WebGL local (on my machine) build works fine.

WebGL build from ci is missing all texts in view like:

  • button text
  • input field text
  • dropdown options text
  • text

Errors from DevTools console in web browser:

  • The resource Internal-ErrorShader.shader could not be loaded from the resource file!
  • The resource Soft.psd could not be loaded from the resource file!
  • The resource UnitySplash-cube.png could not be loaded from the resource file!
  • GL.End requires material.SetPass before!
  • 26[.WebGL-00000E620B513F00] GL_INVALID_ENUM: Enum is not currently supported.
  • The resource Internal-Loading.shader could not be loaded from the resource file!

Additional Info:

  • Unity version - 2021.2.0f1
  • Some WebGL Player Settings:
    • WebGL Template: minimal
    • Auto Graphics API: false image

I do not know if the issue is causing the BuildCommand setup or there is something wrong with unity docker image.
Does someone has any idea what is wrong?

I will provide any other information if is needed.

Edited by Marek Magáth