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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.