Search Issue Tracker
Fixed in 11.0.0
Votes
12
Found in [Package]
10.0.0-preview.30
Issue ID
1269524
Regression
No
URP and HDRP builds include unused asset files that cannot be stripped
How to reproduce:
1. Open attached project "urpStripping.zip"
2. In the Menu bar, go to File > Build Settings...
3. In the Build Settings window, click on Build and select the "Build" folder
4. After the build, in the Menu bar, go to Window > Open Last Build Report
5. In the Inspector window, click on SourceAssets and observe the files
Expected result: unused assets are not included in the build
Actual result: unused assets (such as "Medium01.png", "Large01.png" etc.) are included in the build
Reproducible with: 4.1.0-preview, 4.10.0-preview (2018.4.26f1), 7.3.1, 7.4.3 (2019.4.8f1), 8.2.0, 10.0.0-preview.30 (2020.1.2f1, 2020.2.0a20)
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
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
- [Android] Gfx.WaitForGfxCommandsFromMainThread high performance usage and inconsistency when built Player scene has Canvas GameObject on a specific Project
Resolution Note (fix version 11.0.0):
Fixed in URP 11.0.0
Assets are correctly stripped when Post-processing is disabled in URP