Search Issue Tracker
By Design
Votes
0
Found in
5.4.0f3
Issue ID
820972
Regression
No
Graphics.Blit draws texture on a toolbar in the Scene view
Reproduction steps:
1. Open the "bug.zip" project.
2. Open the "Test" scene.
3. Play the scene.
4. Notice that texture is being drawn on a scene view toolbar.
Reproduced on: 5.5.0a5, 5.4.0f3, 5.3.5p8, 5.3.5f1, 5.2.5f1
By design:
The reason for this is that we want to be able to blit to a null RenderTexture and therefor cannot do a check or a warning.
If we check the documentation: https://docs.unity3d.com/ScriptReference/Graphics.Blit.html
dest The destination RenderTexture. Set this to null to blit directly to screen.
Doing this inside the RenderObject() also means the user will need to take into account offsets for menus etc.
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
Add comment