Search Issue Tracker
Fixed
Fixed in 6000.2.X, 6000.3.9f1, 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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.
Resolution Note (fix version 6000.3.9f1):
Fixed in 6000.3.9f1