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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
Add comment