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
- Action can't be undone after changing the base Controller on the Animator Controller
- The Axes Gizmo is wiggling around when moving around the Scene View with enabled Physical Camera and Isometric View
- The script can be dragged and dropped before it is compiled
- Double clicking script field no longer opens it in the external script editor
- [Android] Build fails with built-in PAD custom asset(s) when using sample Addressable
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a15