Search Issue Tracker
By Design
Votes
0
Found in
2020.1.0a18
2020.2.0b8
Issue ID
1285353
Regression
No
[Caching Shader PP] Compute shader does not save its "Preprocess only" state
Compute shader does not save its "Preprocess only" state.
Steps to repro:
1. Create a new project.
2. Edit > Project Settings > Editor > Shader Compilation.
3. Enable Caching Preprocessor.
4. Project Settings > Click on "+" > Shader > Unlit Shader.
5. Select Unlit Shader > Inspector > Enable Preprocess only.
6. Create "Compute Shader" > Select > Inspector.
Actual Result:
Compute shader does not save its "Preprocessor only" state.
Expected Result:
Compute shader saves its "Preprocessor only" state.
Reproducible in:
2020.2.0b8, 2020.1.10f1, 2020.1.0a18.
Note: Cache Preprocessor introduced in 2020.1.0a18
Environment:
Occurring on Windows 10 & Mac 10.15.
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
- Crash on SerializedProperty:CopyInternalImpl when clicking on a specific Asset
- Crash on BurstCompilerService::CompileAsync when opening a specific project
- [Android] Particles aren't rendered when the shader "Particle/Standard Unlit" or "Particles/Standard Surface" is used on a Material
- Crash on nvoglv64.dll when opening a project
- [RenderGraph] [CameraStacking] Passes are failing when CameraStacking and RG are enabled
Resolution Note:
Compute shader toggle is independent from the graphics shader toggle. Both save the state.