Search Issue Tracker

By Design

Votes

0

Found in

2018.3.0a1

2018.4.0f1

2019.1.0a1

2019.2.0a1

2019.3.0a1

Issue ID

1158031

Regression

No

Using CommandBuffer.Blit() & empty OnRenderMethod() methods render black view when Camera Event is set to After Image Effect

Camera

-

How to reproduce:
1. Open the attached project
2. Go to Scenes-> open "CmdBufferAndOnRenderImage" scene
3. Go to the Hierarchy window-> Select the Main Camera
4. Go to the Inspector window-> Cmd Buffer And On Render Image Blur (Script) Component
5. Set Camera Event to After Image Effects
6. Enter the play mode and inspect Game view

Expected: Game view has a blur effect
Actual: Game view goes black

Reproducible with: 2018.4.1f1, 2019.1.5f1, 2019.2.0b5, 2019.3.0a5

Note: Could not test with the earlier versions because of the thrown errors
This case mentions a few bugs, check the comments for the link to another bug and more information about it

  1. Resolution Note:

    Hi, this issue is by design and the user is not doing the correct steps for the rendering to work as they want.

    The root issue is that when the user is using the command buffer then the rendering is happening directly to the back buffer, it then has to do a backbuffer read (very slow) before the effect can be applied and the backbuffer resolution is different to their selected resolution.

    The user needs to do two things.
    1) In the 'CmdBufferOnlyBlur' script add Camera.forceIntoRenderTexture = true; to OnEnable(). This will mean that rendering happens to an intermediate buffer saving the extra frame buffer fetch.
    2) In the helper.cs be blits should look like this:
    cmdBuffer.Blit(BuiltinRenderTextureType.CurrentActive, smallRTId);
    cmdBuffer.Blit(smallRTId, BuiltinRenderTextureType.CameraTarget, blurMaterial, 0);

    This will blit to the correct target.

Comments (12)

  1. meeizp2

    May 28, 2020 07:35

    The new version is extreme good. Thanks.
    https://happywheels-play.com/

  2. Hairstylelovers

    Feb 20, 2020 13:21

    any kind of issue can make you suffered in a very serious problem. as I was facing an issue because of MY REMINGTON STRAIGHTENER won't TURN ON, then I find a solution there https://hairstylelovers.com/tag/my-remington-straightener-won-t-turn-on/. it helps me a lot on it.

  3. katherinabates123

    Feb 19, 2020 14:30

    Hi, this issue is by design and the user is not doing the correct steps for the rendering to work as they want. if you are looking for some gymnastics products for home use visit http://www.toplinebuy.com/gymnastics-bars-for-home-use/. it helps a lot to maintain your body

  4. lauradenison889

    Feb 04, 2020 11:42

    Issue trackers are used to tracking different issues, in the last winter vacations I was in northern areas and i resolved an issue with this issue tracker, it was too cold a remember i use Best ski gloves there www.outinglovers.com/an-insight-into-top-13-best-ski-glove-liners-buying-guide/. it helps me to save from the cold

  5. forsakeoffun

    Jan 11, 2020 09:11

    www.cursosenpromocion.com is one of the best websites to get discounted and free courses in several languages .check it out www.cursosenpromocion.com for further detail.

  6. forsakeoffun

    Jan 11, 2020 08:30

    www.cursosenpromocion.com is one of the best website to get discounted and free courses in several languages .check it out www.cursosenpromocion.com for further detail .

  7. shabdashabda

    Jan 03, 2020 11:15

    I have an issue when I was in California. and I fix it with the help of issue tracker. one most important issue that was worried me about my grandmother that i solved with the help of https://www.shabda.name/diapers-for-old-age/ . now she feel very comfortable.

  8. Hairstylelovers

    Jan 02, 2020 15:43

    the issue tracker is very useful. it is helpfull to find many issues. I was so upset about my child that has a hair issue so ib order Best hair products for himhttps://hairstylelovers.com/best-hair-products-for-black-toddlers/. it gives good results.

  9. outinglovers

    Dec 17, 2019 14:36

    I face this issue when I was on a tour. then I read the article and solve it. then I enjoy my camping with easy setup tent http://www.outinglovers.com/top-8-best-easy-setup-tents-for-camping/

  10. handsum103

    Oct 20, 2019 11:39

    Chicago Lamp Recycling is a company that handles fluorescent and HID Lamps, which have been named as universal waste by the EPA. We accept lamps, e-waste, batteries, paper and toner to help your operation run smoothly. https://chicagolamprecycling.com/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.