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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
This is a duplicate of issue #1154519