Search Issue Tracker
By Design
Votes
0
Found in [Package]
2.1.6
Issue ID
1146719
Regression
No
Custom Image Effect for Post Processing Stack fails to load in build
Steps to reproduce:
1. Open attached project "CustomRepro.zip"
2. Observe Game View
3. Build and Run
Expected result: Built game should look like in Game View.
Actual result: Only dark screen appears in build.
Reproduced in: 2018.4.1f1, 2019.1.4f1, 2019.2.0b4, 2019.3.0a4
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
- 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
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Resolution Note:
The solution is in the instructions listed in the linked documentation in the Shader section:
If the shader is never referenced in any of your scenes it won't get built and the effect will not work when running the game outside of the editor. Either add it to a Resources folder or put it in the Always Included Shaders list in Edit -> Project Settings -> Graphics.