Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2020.1
2020.2
Issue ID
1261150
Regression
No
[Bug] Shaders using SV_RenderTargetArrayIndex with tessellation stages fail to compile with OpenGL
How to reproduce :
1. Open "845-XR-Texture2DArrayIndexTess" Scene in the attached "845-XR-Texture2DArrayIndexTess.zip" Project
2. Make sure OpenGL is selected as the renderer
3. Enter Play Mode
4. Observe Console
Expected Behavior: Everything is rendered as expected without errors
Actual Behavior: Texture becomes pink and shader compilation error is seen in the Console
Reproducible with: 2020.1.1f1, 2020.2.0a20
Could not test with: 2018.4, 2019.4 due to some shader namespaces being missing
Note:
- Error:
GLSL compilation failed:
0(32) : error C0000: ... or #extension GL_NV_viewport_array2 : enable
- It seems that it does not reproduce with AMD GPUs
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 2021.2):
Fixed in: 2022.1.0a13