Search Issue Tracker
Fixed in 2022.2.X
Duplicate in 2020.3.X
Votes
0
Found in
2019.4
2020.3
2020.3.23f1
2021.2
2021.3
2022.1
2022.2
Issue ID
1415766
Regression
No
Instanced URP Shaders using Spherical harmonics variables causes long initial mesh render time when used in WebGL
How to reproduce:
1. Open the attached project "DrawMeshLongFirstCallURP.zip"
2. Open the "BrokenShaderScene" Scene
3. Open the Build Settings (File > Build Settings...)
4. Make sure the WebGL platform is selected
5. Build And Run
Expected result: Both Shader's load time is close to each other
Actual result: The Shader that uses the Spherical harmonics variables loads 19 seconds later
Tested on: Google Chrome version 99.0.4844.83 (Official Build) (x86_64), Safari version 15.3 (17612.4.9.1.8)
Reproducible with: 2019.4.37f1, 2020.3.33f1, 2021.2.15f1, 2021.2.19f1, 2021.3.0f1, 2022.1.0b15, 2022.2.0a10
Notes:
- Not reproducible on Safari
- Reproducible on Google Chrome
- Only reproducible on MacOS
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a15