Search Issue Tracker

Active

Fixed in 2023.1.0a8

Under Consideration for 2020.3.X, 2021.3.X, 2022.1.X, 2022.2.X, 2022.3.X

Votes

0

Found in

2019.4.40f1

2020.3.36f1

2021.3.4f1

2022.1.5f1

2022.2.0a17

Issue ID

UUM-5760

Regression

No

ComputeShader.SetVector() does not work when assigning to int4

--

-

Reproduction steps:
1. Open the attached project "Case_1413515.zip" and load Scene "SampleScene"
2. Enter Play Mode
3. Observe the Game View

Expected result: The Game View is white
Actual result: The Game View is black

Reproducible with: 2019.4.40f1, 2020.3.36f1, 2021.3.4f1, 2022.1.5f1, 2022.2.0a17

Notes:
- Issue does not reproduce with regular shaders and Material.SetVector()
- ComputeShader.SetVector() works correctly when assigning to a Vector variable
- ComputeShader.SetInts() can be used as a workaround

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.