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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.