Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2019.4.X, 2020.3.X

Votes

0

Found in

2019.3.13f1

2019.4

2020.1

2020.2

Issue ID

1245847

Regression

No

[WebGL] [IL2CPP] Development builds fail on Unity.WebGL.extensions/ProgramUtils.cs:48 when building for WebGL/IL2CPP

WebGL

-

Reproduction steps:
1. Open the attached project ("case_1245847-WebGL-Dev-Builds.zip")
2. Changed build target to WebGL
3. Check the "Development Build" checkbox in Build Settings
4. Try building

Expected result: Development build succeeds without errors
Actual result: Development build fails on "/Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/ProgramUtils.cs:48"

Reproducible with: 2019.4.3f1, 2020.1.0b15, 2020.2.0a17
Couldn't test with 2018.4 (errors after downgrading the project)

Notes:
1. The issue does not reproduce when building release (regular) WebGL builds
2. The issue does also reproduce when building on IL2CPP backend (both release and development builds)
3. The issue does not reproduce when building on Mono backend (both release and development builds)
4. The issue does not reproduce on an empty project

  1. Resolution Note (fix version 2021.1):

    The root issue was within the repro project - code was referencing function from imported DLL which was not present. We have improved error logging to better reflect such errors, so that it would be easier to catch them in the future.
    Fixed in 2021.1.0a1

  2. Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.17f1

  3. Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.30f1

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.