Search Issue Tracker
Duplicate
Votes
0
Found in
2017.4.0f1
2018.3.10f1
2018.4.0f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1162639
Regression
No
Setting Shader Texture2DArray via CommandBuffer/MaterialPropertyBlock/Material displays errors in the Console window
How to reproduce:
1. Open user-submitted project (Repro_Shader_Properties) or tester-submitted project (Repro_Shader_Properties_NoSRP)
2. Select 'CaseA' and/or 'CaseB' GameObjects
3. In 'Textured Object' script Component try all 'Current Type' settings with Play Mode
Expected result: no errors are printed in the Console window
Actual result: errors are printed/spammed in the Console window
Reproducible with: 2017.4.29f1, 2018.4.3f1, 2019.1.8f1, 2019.2.0b7, 2019.3.0a7
Notes:
Selecting GameObjects 'CaseA' and 'CaseB' presents the following options in the 'TexturedObject' script Component:
1) MATERIAL_SET_TEXTURE - uses Renderer.material.SetTexture; errors are only printed once upon entering Play Mode
2) MATERIALPROPERTY_ BLOCK_SET_TEXTURE - uses MaterialPropertyBlock.SetTexture; errors are printed continuously upon entering Play Mode
3) NONE - uses CommandBuffer.SetGlobalTexture(in SetGlobalTexture.cs); errors are printed continuously upon entering Play Mode
The following error gets printed:
A multisampled texture being bound to a non-multisampled sampler. Disabling in order to avoid undefined behavior. Please use Texture2DMS in the shader.
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: Inspector section icon is less sharp/more pixelated than other editor icons
- Search description string is always truncated
- [VFX] When Grouped Nodes are converted to Subgraph Operator resulting Graph Node is not included in the Group
- Search window icons are less sharp/more pixelated than other editor icons
- The Inspector can be covered when scaling the horizontal separator bar
This is a duplicate of issue #1154519