Search Issue Tracker
By Design
Votes
0
Found in
2017.4.7f1
Issue ID
1061818
Regression
No
[Shaders] Replacement shader works only in the editor
Steps to reproduce:
1. Open attached project
2. Build & Run
3. Observe that color is written out during the depth write pass
Expected result: ColorMask value should not be ignored
Reproduced in: 2018.3.0a5, 2018.2.0f2, 2018.1.9f1, 2017.4.7f1, 2017.3.2f1, 2017.2.3p1, 2017.1.4p1
Tasted graphics APIs: OpenGLES3, OpenGLES2, Vulkan
Tested devices:
Samsung Galaxy S9 (SM-G960F), 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
Sony Xperia Z2 (D6503), 6.0.1, CPU: Snapdragon 801 MSM8974PRO-AB, GPU: Adreno (TM) 330
iPhone 7+ iOS 11.1.1
EDIT: This doesn't work in Mac Standalone either. Further investigation showed that ReplacementShader is ignored.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- VFX Graph effect instance stops rendering when a second instance of the same effect starts 2 frames later
- Operations on the Color32 array are not reflected in WebGL Player when HDR is off
- Rigidbody moves away from the original GameObject when Center of Mass is set in every frame
- WebGL Player does not proceed beyond logo screen when "Target WebAssembly 2023" is enabled
- "NullReferenceException" error thrown in UnityEditor.ObjectListArea when an audio clip is selected in one of two opened Project tabs while the second Project tab is not active/painted
Add comment