Search Issue Tracker

Fixed

Fixed in 2021.3.29f1, 2022.3.3f1, 2023.1.1f1, 2023.2.0a17

Votes

3

Found in

2022.1.0b12

2022.2.15f1

2023.2.0a9

Issue ID

UUM-33058

Regression

Yes

"Blit material Hidden/Kronnect/Beautify/Beautify uses dest texture as input, it's an undefined behaviour. Consider using double buffering." is thrown when a blit is executed in an image effect

--

-

How to reproduce:
Open the attached project "kkb1.zip"

Expected results: No errors in the Console window
Actual results: "Blit material Hidden/Kronnect/Beautify/Beautify uses dest texture as input, it's an undefined behaviour. Consider using double buffering." thrown in the Console window

Reproducible with: 2022.2.15f1, 2022.1.0b12, 2023.2.0a4, 2023.2.0a9
Not reproducible with: 2020.3.47f1, 2021.3.22f1, 2023.2.0a3

Reproducible on: Windows 10

Comments (5)

  1. UrsHanselmann

    Jun 07, 2023 10:42

    Not sure if this is the same issue, but it seems that Graphics.Blit is now checking all attached textures to the material, not just those of the pass that is being rendered.
    For anyone else having this issue, you can fix it by resetting the temporary texture handles to null, after blitting:

    fastBloomMaterial.SetTexture (mShaderIdBloom, rt);
    Graphics.Blit (source, destination, fastBloomMaterial, 0);
    fastBloomMaterial.SetTexture (mShaderIdBloom, null); // reset reference to temporary texture
    RenderTexture.ReleaseTemporary (rt);

  2. Jakub_Machowski

    Apr 19, 2023 09:08

    The problem is also on 2021.3.23 Please update issue tracker as it have to be fixed on that LTS too

  3. FiveFingerStudios

    Apr 16, 2023 04:37

    I don't think this is a Unity issue. I just upgraded to Beautify 3...it fixed the issue.

  4. FiveFingerStudios

    Apr 16, 2023 03:38

    I just started having this as well. I though it was an issue because I just upgraded to 2021.3.23f1

  5. jo82

    Apr 15, 2023 15:14

    Started having this under 2022.2.14f1 and 2022.2.15f1.

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.