Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.1.X, 2020.2.X
Votes
0
Found in
2017.1
2017.4
2018.4
2019.3
2020.1
2020.2
2020.2.0a13
Issue ID
1251621
Regression
No
[Bug] Compute Shader Asset Importer doesn't update/reorder Platform List on switching Graphics API
On switching the Graphics API, the CSMain Kernel of a Compute Shader Asset does not reorder the Platform List while compiling code.
Refer to the attached Video.
Steps to Reproduce:
1. Create a New Project
2. Edit > Project Settings > Player > Other > Uncheck Auto Graphics API > DX12 > Add
3. Project > Right-click > Create > Shader > Compute Shader
4. Edit > Project Settings > Player > Switch API to DX12 > Restart Editor
Actual Result:
CSMain Kernel doesn't update or reorder the Platform List after restarting the Editor
Expected Result:
Platform List should be reordered depending on the Graphics API in use
Note:
On removing any Graphics API from Player Settings > Other, the Compute Shader Asset's Platform List rearranges itself correctly
Reproducible with:
2020.2.0a13, 2020.1.0b11, 2019.3.15f1, 2018.4.23f1, 2017.4.40f1, 2017.1.5f1
Environment:
Windows 10 and macOS 10.14
License type: Pro
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 when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
- Artifacts appear on GameObjects when using the WebGL Player on Silicon macOS
- Only the icon of the disabled child GameObject is faded when a parent GameObject is a Prefab
Resolution Note (fix version 2021.1):
Compute Shader inspector now shows graphics API sorted by name
Resolution Note (fix version 2020.2):
Shaders: Compute shader inspector now shows graphics API sorted by name
Resolution Note (fix version 2019.4):
Shaders: Compute shader inspector now shows graphics API sorted by name