Search Issue Tracker
Fixed
Fixed in 6000.2.X, 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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
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.