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
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 crashes when debugging a for loop
- Crash on UnityPlayer!profiling::ProfilerManager::DisposeProfilerRecorder+0xa when Player gets relaunched and exited after running for a long amount of time
- [Input system] When releasing one touch and pressing a second touch during a single frame, the second touch is not translated into UI event line OnPointerDown by the InputSystemUIInputModule
- URP Samples - multiple "Attempting to resolve render surface" and other errors appear when setting Quality pipeline asset
- OnDemandRendering.willCurrentFrameRender returns incorrect values in the Player when UnityEngine.Rendering.OnDemandRendering.renderFrameInterval is greater than 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);
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
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.
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
jo82
Apr 15, 2023 15:14
Started having this under 2022.2.14f1 and 2022.2.15f1.