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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment