Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

URP Post fx visible in editor, not in game

Discussion in 'Universal Render Pipeline' started by Menn007, Nov 18, 2019.

  1. Menn007

    Menn007

    Joined:
    Sep 20, 2015
    Posts:
    23
    Hi
    I am having trouble getting the postFX to work.
    I have created a game using the URP template. Following the documentation I added a volume to my camera and set the mode to global.
    Now the effects are visible in the editor window, but when I press play, the fx are not applied.

    Do I have to setup an extra pass in the forward renderer?
    Or do I have to hook up the postprocessing profile somewhere else also?

    M

    PS, I am running 2019.3.0b11 Cinemachine 2.3.4 and Universal RP 7.1.5
     
    Last edited: Nov 18, 2019
    hunter-baun likes this.
  2. SpiralCircus

    SpiralCircus

    Joined:
    Feb 1, 2014
    Posts:
    34
    Are you using the 2D renderer? I'm having the same issue. My thought was that the 2D renderer was causing it but idk.
     
    Talmagett likes this.
  3. Menn007

    Menn007

    Joined:
    Sep 20, 2015
    Posts:
    23
    No I used the URP template as a new game. Even the sample scene has this same issue where I see (in this case the vignette) in the editor window, but when I press play, the vignette is not visible
     
    meshak2002 likes this.
  4. Menn007

    Menn007

    Joined:
    Sep 20, 2015
    Posts:
    23
    I figured out there is a small rendering tab in the camera properties. In there you have to enable 'post processing' then it is working :)
     
  5. SpiralCircus

    SpiralCircus

    Joined:
    Feb 1, 2014
    Posts:
    34
    Ok I'll try that, thanks for posting your solution.
     
  6. phil_lira

    phil_lira

    Unity Technologies

    Joined:
    Dec 17, 2014
    Posts:
    584
    Now, in URP you have to enable post-processing toggle in the camera.
    We are writing a camera doc page that will explain the new camera settings, including post-processing.

    2D renderer is supporting post-processing as latest packages in 2019.3
     
  7. SpiralCircus

    SpiralCircus

    Joined:
    Feb 1, 2014
    Posts:
    34
    Yeah this worked for me too, i guess i just wasn't looking there since I'd just migrated from PPv2. Thanks for the help.
     
  8. iHeartGameDev

    iHeartGameDev

    Joined:
    May 3, 2019
    Posts:
    12
    I'm having this issue too. The difference is I upgraded to URP from a standard project. I'm using Cinemachine 2.5.0, Unity 2019.3.0f5 and URP 7.1.8. I have Post Processing enabled on my main camera. And I made a Post Processing volume on an empty game object that has bloom. The bloom is currently viewable in the editor but I'm not seeing anything in the game view.
     
  9. Chris_Payne_QS

    Chris_Payne_QS

    Joined:
    Jul 16, 2016
    Posts:
    83
    I've just switched a project onto URP and even with PostProcessing ticked on the camera it doesn't work (2019.3, URP 7.1.8)
    There must be some other setting blocking it too...
     
  10. thejman1888

    thejman1888

    Joined:
    Mar 22, 2017
    Posts:
    3
    I am having the same problem.
     
  11. Chris_Payne_QS

    Chris_Payne_QS

    Joined:
    Jul 16, 2016
    Posts:
    83
    Solved my issue: the URP postfx requires the Camera and Volumes to be on the SAME LAYER.
    This is the opposite of the PPv2 optimal setup, so most of us switching from PPv2 will have the post volume gameobject on a custom PostFx layer.
    I don't know why your scene and game views would be different though :/
     
    Pixierrr likes this.
  12. thejman1888

    thejman1888

    Joined:
    Mar 22, 2017
    Posts:
    3
    I made sure to check this and my post processing is showing up just not the emission. I have a material with emission checked on the emission shows up in the scene view and glows with bloom but it does not glow in the game view. It just appears to be a flat color. GLOW PROBLEM.PNG GlowProblem.PNG
     
  13. lilwoz297

    lilwoz297

    Joined:
    Dec 5, 2018
    Posts:
    2
    @thejman1888 I'm having the same issue. Volume GameObject with Bloom, emissive materials displaying properly in Scene View, Camera and Volume on the same Layer, but the emission is not visible in the Game View.
     
  14. beardedrangaman

    beardedrangaman

    Joined:
    Jul 22, 2017
    Posts:
    9
    Do you have the post processing layer turned on in your scene view? It's at the top of the scene view window next to 2D, Lighting and Audio controls
     
  15. sterneck_moritz

    sterneck_moritz

    Joined:
    Mar 23, 2020
    Posts:
    8
    If @thejman1888 or anybody still has this issue, for me it was the checkbox 'HDR' in the URP Asset...

    upload_2020-4-3_23-30-23.png
     

    Attached Files:

  16. thejman1888

    thejman1888

    Joined:
    Mar 22, 2017
    Posts:
    3
    This worked for me! thank you!!!
     
  17. hebesun

    hebesun

    Joined:
    Nov 30, 2017
    Posts:
    2
    omg thanks, I've spend 2 hour for searching.
     
  18. ricomossina

    ricomossina

    Joined:
    May 29, 2020
    Posts:
    1
    I tried all the thigs you guys told but still have the same issues, and if i put the main camera and the postprocessing GameObject in a separate layer, I dont see changes in both view, if I chage the layer to default I see changes in edit mode but not in play mode. Help?
     
  19. arthhhuang

    arthhhuang

    Joined:
    May 18, 2020
    Posts:
    1
    THX!!!! It finally works Lol
     
  20. barge9

    barge9

    Joined:
    May 13, 2015
    Posts:
    12
    Thank You!!!!
     
  21. lndcobra

    lndcobra

    Joined:
    Jan 28, 2020
    Posts:
    21
    For me it was converting the "Camera to Entity" into DOTS/ECS was breaking it!
     
  22. jdtec

    jdtec

    Joined:
    Oct 25, 2017
    Posts:
    297
    I wish it was easier than googling for an hour or so to get an emissive colour working...
     
    LeePerry likes this.
  23. josemiguelgarciaoliver1975

    josemiguelgarciaoliver1975

    Joined:
    Sep 20, 2020
    Posts:
    1
    THANKS!!!!!
     
  24. gacicconetti

    gacicconetti

    Joined:
    Jan 22, 2021
    Posts:
    1
    If someone still have this issue (like me after trying ALL of the solutions on the web), for me the solution is to choose Render Type -> Overlay in the Camera settings.
     

    Attached Files:

    awsapps and EyeUnitedEmCee like this.
  25. thanhle

    thanhle

    Joined:
    May 2, 2013
    Posts:
    162
    Check to Use HDR
    upload_2021-4-25_17-53-17.png
     
    GoGoGadget likes this.
  26. aman_mehra

    aman_mehra

    Joined:
    Apr 14, 2022
    Posts:
    3



    Thanq that worked