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
- 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
This is a duplicate of issue #1154519