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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note:
SRP uses different macros
#define TEXTURE2D_X_MSAA(type, textureName) Texture2DMS<type, 1> textureName