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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.