Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
5
Found in
2020.2.0a19
2020.2.1f1
2021.1
2021.2
Issue ID
1303232
Regression
Yes
UnobservedTaskException:System.NullReferenceException is thrown when the project is built for WebGL
How to reproduce:
1. Open the user's attached "TestWebGL.zip" project
2. Open the "SampleScene" Scene
3. Go to File -> Build And Run
4. Observe the application in the browser
Expected result: No errors in the Console are thrown and the game scene is loaded
Actual result: "UnobservedTaskException:System.NullReferenceException" error message in the Console and game scene is not loaded
Reproducible with: 2020.2.0a19, 2020.2.2f1, 2021.1.0b2, 2021.2.0a1
Not reproducible with: 2018.4.30f1, 2019.4.18f1, 2020.1.17f1, 2020.2.0a18
Notes:
- The issue is not reproducible in the Editor
- The issue is not reproducible in Windows Build
-
syeddaniyalrizvi
Mar 13, 2021 12:08
Player Settings -> Publish Settings -> Compression Format, Select Disabled.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a11
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.8f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.10f1