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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.