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
- Mouse inputs cannot be inputted when searching the Shortcuts Menu by type "Shortcut"
- "Debug Assertion Failed!" error when launching Windows Dedicated Server Player with Script Debugging enabled
- [Cinematic Studio][3D HDRP] Shader warnings thrown in the Console window when creating a new project with Cinematic Studio template
- Autoplay is triggered on Audio Assets when changing Asset Bundle tags
- Inspector Asset Bundle section has no indication for Variants, AssetBundle is written without a space, and Variant dropdown menu is available without setting the Asset Bundle first
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a15