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
- IL2CPP Player crashes when there aren't enough Thread Static Slots
- Articulation Body tree changes behavior after attaching a trigger Collider
- Fatal freeze when playing a VFX made with VFX Graph and consisting many effects
- "Failed to download Build.data.br file" error is thrown when building projects for WebGL with the Compression Format set to "Brotli"
- Documentation Link does not work when the "New Panel Settings" question mark is clicked
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