Search Issue Tracker
Not Reproducible
Votes
1
Found in
2022.3.58f1
6000.0.39f1
6000.1.0b7
6000.2.0a4
6000.3.0a1
Issue ID
UUM-97886
Regression
No
High "Total" value of the "TerrainManager.CullAllTerrains" when generating terrain
Reproduction steps:
1. Open the attached “repro_IN-95227“ project
2. Open the “Assets/OutdoorsScene.unity“ Scene
3. Open the “Profiler” (“Window → Analysis → Profiler“)
4. Enable “Deep Profile”
5. Set “Target selection“ to “Play Mode“
6. Enable recording
7. In the “CPU Usage” row, enable only the “Rendering“ graph
8. Enter the Play Mode
9. While the Game view is focused, press the “Spacebar“ button on your keyboard and wait for the terrain to be generated
10. Once it’s generated, pause the Play Mode
11. In the “Profiler”, in the “CPU Usage“ row, select the first green spike
12. In the Hierarchy of the Profiler, search for “TerrainManager.CutAllTerrains“
13. Notice the “Total” value
Expected result: Value of “Total” is low
Actual result: Value of “Total“ is high
Reproducible with: 2022.3.58f1, 6000.0.39f1, 6000.1.0b7, 6000.2.0a4
Reproducible on: Windows 10 (22H2),
Not reproducible on: No other environments tested
Notes:
- In the test project, the value of “Total“ can reach around 50%
- In the real user project (which is very complex), the value of “Total“ is around 17%
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
We cannot sufficiently reproduce the issue with the provided repro project in player builds. The portion of the report showing excessive timings for MaterialPropertyDrawer on Terrain instantiation is an Editor-only issue and, unfortunately, not something we can change as it is part of the Material system keyword setup in Editor, among other things.