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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
Compute shader toggle is independent from the graphics shader toggle. Both save the state.