Search Issue Tracker
Fixed
Fixed in 2023.2.X, 2023.2.0a23
Votes
0
Found in
2023.2.0a16
Issue ID
UUM-40825
Regression
Yes
Performance regression when baking LODs with the GPULM
This was detected by our performance tests:
The commit range to look into is between `d832162ee654ad4fc1c34ab4dfe55986670f5b06` (good) and `ba913132852ff450c8508fac2f47e7a454c8b7c6` (bad).
----
How to reproduce:
On a Windows machine with a modern GPU –
Using the project under unity/unity:
- Open the test project Tests/PerformanceTests/GI
- Run the UnityEditor.GI.Tests.Performance.LevelsOfDetail.ManyInstancesWithLODGroupWithLOD("0",ProgressiveGPU) test.
- Note the Bake Time Total and Bake Performance under the performance test report window.
You will run into compilation errors in the bisection commit range (which is why we haven't been able to do it automatically). When you do, apply the following changes to the project: [https://github.cds.internal.unity3d.com/unity/unity/commit/cb5e3327b7469c6f15206f50e026ccd530daf13c] . You can just copy the entire file from here [https://github.cds.internal.unity3d.com/unity/unity/blob/cb5e3327b7469c6f15206f50e026ccd530daf13c/Tests/PerformanceTests/GI/Assets/Tests/PerformanceTests.cs] and replace the existing Tests/PerformanceTests.cs.
Note that I can't provide expected / actual numbers as they depend on your hardware. The regression is that Bake Time Total is about 4-5 times larger and Bake Performance is equally lower than before. See the Observer link above.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment