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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a15