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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
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