Search Issue Tracker
Fixed
Fixed in 6000.4.0a1
Votes
1
Found in
2022.3.63f1
6000.0.51f1
6000.1.8f1
6000.2.0b6
Issue ID
UUM-109540
Regression
Yes
URP Terrain Shaders are always included when building on any target platform
Steps to reproduce:
1. Open the “user’s attached project”
2. Go to “File/Build Profiles” and under Platform settings enable “Development Build” and “Autoconnect Profiler”
3. Build and Run
4. Open “Window/Analysis/Memory Profiler” through the Main Menu
5. Press the “Capture New Snapshot” button
6. Open the snapshot and click on the “Unity Objects” tab
Expected result: There are no terrain shaders included in the build
Actual result: the "Hidden/TerrainEngine/Details/UniversalPipeline/BillboardWavingDoublePass", "Hidden/TerrainEngine/Details/UniversalPipeline/WavingDoublePass", and "Hidden/TerrainEngine/Details/UniversalPipeline/Vertexlit" are all included in the build and use memory
Reproducible with versions: 2022.3.63f1, 6000.0.39f1, 6000.0.51f1, 6000.1.8f1, 6000.2.0b6
Not reproducible with versions: 6000.0.38f1
Couldn’t test with versions: 2021.3.53f1 (due to compiler errors)
Reproducible on: macOS 15.5 (M1 Max)
Not reproducible on: no other environment tested
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 (fix version 6000.4.0a1):
In UniversalRenderPipelineRuntimeShaders, terrainDetailLitShader, terrainDetailGrassBillboardShader, and terrainDetailGrassShader have been marked obsolete, and they have been added to UniversalRenderPipelineRuntimeTerrainShaders. Users' data in these settings will be automatically migrated over when the project is loaded.
A new 'Include Terrain Shaders' option was added to the graphics settings, which users can disable if they do not wish for the shaders to be included in the build.