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
- Editor freezes after some time when using NavMeshQuery::Raycast
- Cube is rendered green when its color is set to black and using the Lift Gamma Gain Volume interpolation
- Inner and outer exceptions are not unrolled correctly
- [iOS][WebGL] Audio Clip doesn't play when Load Type is set to Decompress On Load and iOS Silent Mode is enabled
- Crash on EditorBuildSettings::GetConfigObject when closing a specific project
This is a duplicate of issue #1154519