Huge triangle/vert count increase when upgrading from 2019.3 to 2021/2022

I have a project that my team and I have been working on for a few years now and we’re looking to upgrade the project from 2019.3 to a newer version.

I’m looking to move to either 2021 LTS or 2022 (with the option of a minor update to an LTS version when it is released).

Upgrading the project in general hasn’t been an issue. The issue comes from a massive jump in the triangle render count. When looking at the stats in one of our smaller scenes in 2019 its saying around 3k triangles compared to 362k in 2021 & 2022.
Whilst I know the tri count isn’t always 100% accurate it would explain why builds are running exceptionally poorly.

Has anyone else had similar issues or can think why this would be happening?

After using the frame debugger I could see that assets were being batched and drawn differently in the new versions of Unity.
I looked into the SRP batcher but that didn’t help.

It looks like I’ve found out what the cause was though.
Within the URP asset, there is a setting called Light Layers and disabling this has caused performance to go back to pretty much where it was before. I’m still playing around with other settings within the URP asset to see how they affect performance on Android as it still isn’t 100% consistent but it’s looking much better.

1 Like