Search Issue Tracker

Duplicate

Duplicate in 2019.4.X, 2020.1.X

Votes

1

Found in

2020.1.0b6

2020.1.6f1

2020.2

Issue ID

1280001

Regression

Yes

Migrating from LWRP 2019.2.20f1 to URP 2020.1.0b5 causes ~38x increase of unused shader programs, slowing down shader warmup

Universal RP

-

How to reproduce:
1. Open the attached project "case_1280001-Project.zip"
2. Go to the Build Settings (File->Build Settings)
3. In the Build Settings, switch to WebGL platform
4. Make a build
5. Host the WebGL build
6. Open the WebGL Player in the browser
7. Wait for the build to load
8. Reload the Player by refreshing the page (Note the time it takes to load up)

Expected result: Load times are as fast as in previous versions
Actual result: Load times are longer than in previous versions

Reproducible with: 2020.1.0b6, 2020.1.8f1, 2020.2.0b6
Not reproducible with: 2018.4.28f1, 2019.4.11f1, 2020.1.0b5

Note: Load time increased from ~2s to ~20s

Workaround: Downgrade the project to "Not reproducible" version and upgrade it to the affected one

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.