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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
SRP uses different macros
#define TEXTURE2D_X_MSAA(type, textureName) Texture2DMS<type, 1> textureName