Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2021.3.X, 2022.1.X

Votes

5

Found in

2021.2

2021.2.15f1

Issue ID

1411380

Regression

Yes

[Linux] Webgl build crashes every time when using Unity Editor on Linux

Web Platform

-

How to reproduce:
1. Create new 3d project
2. Switch platform target to WebGL
3. Build and run

Expected result: Build succeeds
Actual result: Exception is thrown in the console:
"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!" ...

Building WebGL on Linux, on Unity 2021.2 (after the incremental build was implemented for WebGL), results in unity_default_resources not being included in the resource data file.

Affects Unity 2021.2+
Affects all Linux distributions.
Not repro on Windows or macOS

  1. Resolution Note (fix version 2022.2):

    Fixed in 2022.2.0a14

Comments (3)

  1. Michael_Swan

    Jun 08, 2022 00:21

    It's fixed in 2021.3.4 LTS+. Other versions might be fixed as well.

  2. hawam

    May 28, 2022 19:18

    Looks like it has been in review for
    LTS version for some time. Can we get a rough estimate of when we can get it.

  3. IainMint

    May 27, 2022 11:51

    We can't vote as its fixed but we'd like the fix in the LTS version as well please.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.