Search Issue Tracker
Fixed
Votes
1
Found in
4.3.0b1
Issue ID
561742
Regression
No
[Blit] Graphics.Blit doesn't work as expected
Reproduced on 4.2 and 4.3
See user's description, but not crashing when uncomment 2B part in EffectController.cs
How to reproduce:
1. Open attached project
2. Open scene Scenes/Main.scene
- Scene contains a sphere which orbits around a centre axis when the scene is played
3. Open the script Scripts/EffectController.cs
- Script has a few commented out sections all marked using comments:
- 1A - Calls Blit(frameBuffer, null, blitMaterial) in OnPostRender() - this results in nothing being shown on screen
- 1B - Calls Blit(frameBuffer, destination, blitMaterial) in OnRenderImage() - this also results in nothing being shown. There is also a commented out Blit with 'null' instead of 'destination', which results in the same
- 2A - Results in black screen unless the refCam.targetTexture = null; line is uncommented. Then it shows the sphere orbiting, but with a green filter on screen
- 2B - Blit(destination) results in the rendered image be a screenshot of the Scene view, Blit(null) results in green artifacting
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Post Process artifacting on certain Android Devices when using Vulkan Graphics API
- The Decal Projector will also be hidden in the Game View when its visibility is toggled off in the Scene View
- [Android] The Player crashes when changing cursor multiple times on Android
- Crash on UnsafeUtility_CUSTOM_MemSet when simulating a random tick event for a tile at a specified position
- Can't drag-select GameObjects in the Scene view when GPU Resident Drawer Instancing is enabled
Add comment