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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
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.