Unity Issue Tracker - Loading a scene with a large amount of light probes causes a performance spike
Fixed
UUM-7568
Loading a scene with a large amount of light probes causes a performance spike
Unity: Shadows/Lights
Fixed
2021.3.X
2020.3.X
Steps to reproduce:
Download and open user attached project (lightmaptest.zip)
Open the "startingscene" scene & the profiler
Start play mode
Press "T" key to load using Additive
Observe spike in profiler
Stop play mode
Repeat above, but press "Y" key to load using Single
Notes:
We thought that is reproduces in 2021.3.5f1, 2022.1.7f1, 2022.2.0a13, 2023.1.0a1, but that was only a "few milliseconds spike", not the "few seconds spike" the user is seeing.
Both LoadSceneMode.Single and LoadSceneMode.Additive causes a performance spike
PostLoadSceneStaticLightmapSettings seems to be the culprit (see attached screenshots)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?