Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.2.X, 2022.1.X
Votes
0
Found in
2019.4
2020.3
2021.2
2021.2.0f1
2022.1
Issue ID
1383689
Regression
No
InterlockedExchange function throws an error when using floats as arguments with Vulkan Graphics API
Reproduction steps:
1. Open the attached project "float-atomics.zip"
2. Select the "test" compute shader from the Project > Assets
3. In the Inspector window press Show compiled code
4. Observe the Inspector
Expected result: There are no errors
Actual result: There are three following errors: "'' : compilation terminated at kernel CSMain", "'assign' : cannot convert from ' const float' to ' global highp int' at kernel CSMain" and "'imageAtomicExchange' : no matching overloaded function found at kernel CSMain"
Reproducible with: 2019.4.33f1, 2020.3.23f1, 2021.2.4f1, 2022.1.0a16
Note:
- Does not reproduce with Graphics APIs for Windows set to Direct3D11, Direct3D12, OpenGLCore, OpenGLES2 or OpenGLES3
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b9
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.14f1