Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2019.4.17f1
2020.1
2020.2
2021.1
Issue ID
1303658
Regression
No
[SRP] "unrecognized identifier 'Texture2DMS_float'" Shader error is thrown when having Texture2DMS_float attribute in a Shader
How to reproduce:
1. Open the user's attached "TestHighpTexture2DMS.zip" project
2. Change the "Texture2DMSArray" to "Texture2DMS_float" in CopyDepthPass.hlsl
3. Select the CopyDepth Shader
4. Observe the Inspector window
Expected result: No error messages in the Inspector window
Actual result: "Shader error in 'Hidden/Universal Render Pipeline/CopyDepth': unrecognized identifier 'Texture2DMS_float'" message is shown in the Inspector window
Reproducible with: 2019.4.17f1 (7.5.2), 2020.1.17f1 (8.3.1), 2020.2.1f1 (10.2.2), 2021.1.0b1 (11.0.0)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
SRP uses different macros
#define TEXTURE2D_X_MSAA(type, textureName) Texture2DMS<type, 1> textureName