Search Issue Tracker

Fixed in 2021.2.X



Found in


Issue ID




[Vulkan] Linux Editor throws a SPIR-V validation error when returning OpArrayLength in Compute shader



How to reproduce:
1. Open the user attached project ( with the "-force-vulkan-layers" argument
2. Enter Play Mode
3. Observe the Console output

Expected result: the Console produces no output
Actual result: a validation error is thrown in the Console

Reproducible with: 2020.2.0b9

1. Couldn't provide additional reproducible versions due to the issue not being reproducible on any available tester machines using the Nvidia GTX 1060 or AMD GPUs
2. Reproducible on Ubuntu 18.04 using the Nvidia GTX 1080ti GPU
3. Not reproducible on Windows 10

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2022.1.0a6

  2. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0b15

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.