Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.32f1
2022.3.13f1
2023.1.20f1
2023.2.0b18
2023.3.0a14
Issue ID
UUM-55685
Regression
No
"Graphics.Blit material "Hidden/BlitCopy" uses dest texture "RenderTextureWrapper" as input in pass (0)" error is logged when Scene is saved
Reproduction steps:
1. Open the attached project “TestMacOs.zip“
2. Open the “Assets/Scenes/CustomShaders.unity” Scene
3. Add an empty GameObject in the Hierarchy window (Right-click > Create Empty)
4. Save the Scene (“Ctrl + S” shortcut on the keyboard)
5. Observe the Console
Expected result: No errors are present
Actual result: “Graphics.Blit material "Hidden/BlitCopy" uses dest texture "RenderTextureWrapper" as input in pass (0), it's an undefined behaviour. Consider using double buffering.” error is logged
Reproducible with: 2021.3.32f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0b18, 2023.3.0a14
Reproducible on: Windows 10 Pro (22H2), M1 MacOS 14.0
Not reproducible on: No other environment tested
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
This seems to be a user error as the initialization texture used for the Custom RT is itself, which explains the error msg: “Graphics.Blit material "Hidden/BlitCopy" uses dest texture "RenderTextureWrapper" as input in pass (0), it's an undefined behaviour."
Not sure if the intention was to chain together multiple custom RTs, but that would require using the first RT as an input to a second, new RT, rather than having the first RT be an input to itself.