Search Issue Tracker

Won't Fix

Votes

0

Found in

2022.2.0a10

2022.2.0a15

2022.2.1f1

2023.1.0a26

2023.2.0a1

Issue ID

UUM-22235

Regression

Yes

[URP] Performance degradation when using Additional lights on Android

--

-

Steps to reproduce:

1) Download attached project and open in Unity

2) Switch platform to Android in the Build Settings

3) Make sure that Additional Lights are enabled and set to Per Pixel in the UniversalRP-HighQuality.asset

4) Build and Run "SampleScene" on Android device

Observe: very poor performance

Expected result:

FPS should be somewhere around 8-9;

Actual result:

FPS is 3-5;

 

Devices under testing:

Reproduced with:

VLNQA00098 - LGE LG G4 (LG-H815), CPU: Snapdragon 808 MSM8992, GPU: Adreno 418, OS: 6.0.0

Not reproduced with:

VLNQA00279 - Samsung Galaxy S10+ USA (SM-G975U), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 9.0.0

VLNQA00440 - iPhone 8, iOS: 16.0.3 METAL

 

Reproduced with:

2022.2.0a10, 2022.2.0a15, 2022.2.1f1, 2023.1.0a26

Not reproduced with:

2021.3.15f1, 2022.1.24f1

 

Regressed somewhere in:

2022.2.0a1 - 2022.2.0a10 - can't find the exact version because of the errors in the Console/ while building the project

  1. Resolution Note:

    This regression was caused by changes to Soft Shadows feature - more specifically adding quality levels. The shader code branches cause the slow down on lower end android devices (most likely due to filling register space in unused branches). And there is no easy way to work around it as the feature cannot be simply replaced with shader variants due to the nature of quality levels being not only global but per-light as well.
    As this is not reproducible on newer devices and Soft Shadows feature is not recommended for mobile due to heavy performance impact, I'm closing this as Won't Fix and recommend avoiding this feature on the older devices

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.