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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
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