Search Issue Tracker
Active
Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X, 6000.3.X
Votes
0
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment