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
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
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