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
- Button hover state uses default theme color when a custom .uss is applied
- Samples Showcase script warning does not clear after enabling required settings until GameObject is reselected
- VFX Particles receive shadow artifacts when using ShaderGraph with enabled shadows and Face Camera Plane Orient mode
- Blackboard in Visual Effect Graph Resizes After Exiting Full-Screen Mode
- Water in HDRP Sample Scene Freezes When Selecting Dropdown in Inspector
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a15