0
\$\begingroup\$

I recently upgraded my large-scale RPG world project from 2019 LTS version to 2021 for the native Silicon support. I have a Silicon based Mac and even though the game seems to have smoother FPS in the 2021 builds, the lag spikes are extreme.

These lag spikes, after profiling, come from the method DynamicGI.UpdateEnvironment() which is called a few times a second. Even when I increase this interval the lag spikes just make the game jittery despite the overall smooth FPS.

Why is it that Unity 2021 handles this method so poorly? In my 2019 build I was getting slightly less FPS overall but it was extremely consistent and no lag spikes (Intel build played through Rosetta 2). I checked a 2021 Intel build and same problem, it was smoother overall (less so than the native Silicon build) but had lag spikes.

\$\endgroup\$

1 Answer 1

0
\$\begingroup\$

Dynamic GI would be dynamic global illumination. Unity's been working on replacing the previous Enlighten GI system, so this may be a new feature in Unity 2021 which comes with new demands on performance. Try adjusting the GI settings in the Lighting window.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .