Search Issue Tracker
By Design
Votes
0
Found in
2020.3.40f1
2021.3.12f1
2022.1.20f1
2022.2.0b11
2023.1.0a14
Issue ID
UUM-16900
Regression
No
UNITY_SAMPLE_TEX2DARRAY returns incorrect results
Reproduction steps:
1. Open the attached project “Shader Sampling Test”
2. Enter Play mode
Expected result: Both of the cubes are green
Actual result: One cube is green, the other cube is red
Reproducible with: 2020.3.40f1, 2021.3.12f1, 2022.1.20f1, 2022.2.0b11, 2023.1.0a14
Reproducible on: macOS 12.4 (Intel)
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] [Vulkan] Cubes stuck on the first few frames of rotation and application flickering when an Overlay Camera is added to the Camera Stack with MSAA enabled
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
- VFX Graph link contrasts fail WCAG guidelines
Resolution Note:
In the provided repro project, there is an error on line 32 in "test2.cs" where "_MainTexture" should instead be "_MainTex", to match the property in the shader.
With the error fixed, it looks like both cubes are indeed green and tex2D / UNITY_SAMPLE_TEX2DARRAY sample in the same way.