Search Issue Tracker

Fixed in 2020.1

Fixed in 2019.3

Votes

2

Found in

2017.3

2018.3

2018.4.0f1

2019.1

2019.2

2019.3

Issue ID

1154519

Regression

No

[Shaders] Multisampled textures don't work in Deffered Shader

Shaders

-

Reproduction steps:

1. Open "1154519" project
2. Enter Play mode
3. Notice error: "A multisampled texture being bound to a non-multisampled sampler. Disabling in order to avoid undefined behavior. Please use Texture2DMS in the shader."

Expected Result: Multisampled textures work in Deferred Shading
Actual Result: Multisampled textures don't work in Deferred Shading resulting in an error

Reproduced with: 2019.3.0a6, 2019.2.0b6, 2019.1.7f1, 2018.4.3f1, 2018.3.14f1, 2017.4.29f1

  1. Response avatar

    Resolution Note (fix version 2020.1):

    Global texture properties were not handling multisampling properly. Fix incoming.

Comments (1)

  1. 2446368115bf243ee9cec481a77eb953?d=mm

    DorianG-PiXYZ

    Jan 20, 2020 13:32

    Hi,

    I have the same issue with Forward/Deferred rendering when setting Material.SetTexture("propertyName", RendereTexture, RenderTextureSubElement)

    Tested with Unity 2019.3.0f5

    (It's closer with the issue marked as duplicate
    https://issuetracker.unity3d.com/issues/setting-shader-texture2darray-via-commandbuffer-slash-materialpropertyblock-slash-material-displays-errors-in-the-console-window)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.