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
- [Build Profile] [VisionOS/iOS/tvOS] - Build Player Library button is getting displayed depending on the selected build target
- EnsureRunningOnMainThread error in TessellationJob.ApplyInset
- MultiColumnListView causes a memory leak when repeatedly shown and hidden
- Position Node with Object Space has a wrong value when there are multiple active GameObjects with the same shader
- [URP][RG] Fullscreen blit is not working when Render Graph is 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.