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
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
- Audio Mixer “+” buttons overlap with UI when the Audio Mixer window layout is set to Horizontal
- "Clear" button in the "Set project display name" closes all the pop-up instead of clearing just a name from the field
- Video Player renders no video on specific devices when using Vulkan
- The Editor slows itself down by showing tons of warnings when the majority of TransformAccessArrays content are NullRefs
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.