Search Issue Tracker
By Design
Votes
0
Found in
2018.2.14f1
2018.3.0a1
2019.1.0a1
2019.2.0a1
Issue ID
1123744
Regression
No
Shader with cleared ShaderCompilerData is still present in the build files
Steps to reproduce:
1. Open original project "ShaderStripping.zip"
2. Build it on Windows platform
3. Open Build\ShaderStripping_Data\globalgamemanagers with Unity Asset Bundle Extractor (https://github.com/DerPopo/UABE/releases)
Expected result: There shouldn't be cleared shader in the build file
Actual result: There are remains of the cleared shader in the build file
Reproduced in: 2018.3.5f1, 2019.1.0b2, 2019.2.0a4
Note:
1. Could not test in 2017.4 because Shader striping script has missing references.
2. Editor strips the PostProcessing/SSR shader.
3. If there are errors with Post Processing Stack, just delete it and re-download Post Processing Stack from Asset Store.
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
- Joint Gizmos for anchor and connectedAnchor do not respect their defined bodies when Swap Bodies is enabled
- Project Settings window opens up with a blank details pane when the "Configure" button is clicked in the Package Manager after installing the Cloud Diagnostics package
- [UI Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
- Crash on D3DKMTOpenResource when capturing with RenderDoc while GPU Skinning is set to GPU(Batched)
Resolution Note:
The callback was only designed to add / remove variants of a shader from a build, not remove a shader all together. To do the later, remove the shader from the "Assets\PostProcessing\Resources\Shaders" folder so it is not included by the Resources system when it builds.