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

Adding HDRP to an empty project - Everything black

Discussion in 'High Definition Render Pipeline' started by instruct9r, Apr 11, 2021.

  1. instruct9r

    instruct9r

    Joined:
    Aug 1, 2012
    Posts:
    148
    Hello.

    I would like to add HDRP to an empty project because i don't need all the stuff that comes with the HDRP template. I'd like to have my project arranged and clean.

    The thing is that once i add HDRP asset in the graphics settings everything is turning black and even though the HDRP is added in graphics, the HDRP > Lit material is saying that i can edit it only if HDRP asset is added in graphics settings..

    HDRP.jpg
    Am i missing something?
     
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    Have you checked that you have lights, and also check the exposure. It might be that there's something rendering but it is just underexposed. You can also add a Volume, make it global and then add an Exposure override and see if can notice any changes when you adjust exposure.
     
  3. instruct9r

    instruct9r

    Joined:
    Aug 1, 2012
    Posts:
    148
    I think the problem is somewhere else.. I don't see the objects even in the Scene view..

    I can't edit materials i can't see objects.. is this normal?

    Unity 2020.3.1 LTS

    ObjectProblem.jpg
     
  4. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    Can you check which packages you got installed.

    Switch to "Packages: Unity Registry" filtering if you are in 2020/2021, and see what you have installed.

    You should have at least following for the HDRP (see if they have that green checkmark after the title.):
    Core RP Library
    High Definition RP
    Shader Graph

    If your grid is active in the scene, then next check the grid popup by clicking the icon, then see if the settings make sense. It's possible to make the grid invisible if you adjust the opacity slider to zero.

    Check Window/Render Pipeline/HD Render Pipeline Wizard and see what errors (if any) you can see there.

    And there might be a few other things to check before you should suspect anything else like display driver, but maybe someone else can add to the list to check.
     
  5. Ruchir

    Ruchir

    Joined:
    May 26, 2015
    Posts:
    927
    Did you check the quality settings?
     
  6. instruct9r

    instruct9r

    Joined:
    Aug 1, 2012
    Posts:
    148
    Hey thanks for the hints, but unfortunately everything is setUp as it should be and i still don't see either objects or even the grid in the scene view.

    Here's a quick video capture of the editor and all it's settings. Let me know please if i am missing something...
    https://www.dropbox.com/s/01rfhwb7rxzm3ww/HDRP.mp4?dl=0

    thanks
     
    Last edited: Apr 11, 2021
  7. instruct9r

    instruct9r

    Joined:
    Aug 1, 2012
    Posts:
    148
    This is super strange.

    I have done the same thing on my other computer and everything is working just fine.

    So on my Acer Predator it has this problem, where everything disappears. Could that be because of missing driver or something?
     
  8. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    Try to install latest display drivers, that's probably the most likely culprit if something is wrong in 3D viewports in apps.
     
    instruct9r likes this.
  9. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,793
    1. Your gpu is low power and old
    2. Try to install latest display drivers as OImi said
     
  10. pierred_unity

    pierred_unity

    Unity Technologies

    Joined:
    May 25, 2018
    Posts:
    431
    Hey, you could run the HDRP Wizard and fix any issues (under Window > Rendering).
     
  11. instruct9r

    instruct9r

    Joined:
    Aug 1, 2012
    Posts:
    148
    @UnityLighting the machine is Acer Predator Helios 300.

    RTX 2070, 32 GB Ram and Intel Core i7-10750H
    It's not old for sure...

    @pierred_unity - I already did that and everything is fixed. Also the graphics drivers are the latest that are released from nVidia...
     
  12. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    Can you run other apps with accelerated 3D views fine on your system?
     
  13. instruct9r

    instruct9r

    Joined:
    Aug 1, 2012
    Posts:
    148
    I'm working with Autodesk Maya every day, everything is working just fine.

    After Effects is running fine as well.

    Unity is running just fine on URP, no problems there. But as soon as i switch to HDRP even the gizmos disappear from the scene view...

    I'll try reinstalling Unity...
     
  14. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    This is how you setup HDRP for new blank project fastest:

    - Create new project using 3D template
    - Install HDRP package from Package Manager
    - Run HDRP Wizard and select "Fix All" and agree to all popups
    - Create new scene and select scene template for HDRP from that menu. You can save this scene over the default SampleScene.

    When you create a new scene after you've ran HDRP Wizard and fixed the issues, it will give you a new scene with an extra volume (or two depending on the HDRP version) that has been preconfigured for typical HDRP use. This has directional light intensity and exposure values set out for you (the issue with everything being black is incorrect lighting intensity / exposure combination).
     
  15. M4R5

    M4R5

    Joined:
    Apr 11, 2013
    Posts:
    33
    bump

    same issue in 2020.3.5f1, HDRP 10.4.0, DX11
     
  16. instruct9r

    instruct9r

    Joined:
    Aug 1, 2012
    Posts:
    148
    1: Update your graphics drivers.

    2: Open nVidia Control Panel, Go to Manage 3D Settings and Set
    Ambiend Occlusion - Quality
    Anisotropic Filtering - Application-controlled.

    I think i have also changed some other stuff there, but try these 2 and restart Unity to see if it'll work.
     
    jiochoa likes this.
  17. guitarninja

    guitarninja

    Joined:
    Feb 5, 2013
    Posts:
    11
    Find the light volume > Exposure > Change mode to Curve Mapping.

    This is nothing to do with drivers. I find that the HDRP projects always come out black using a fresh template, and the above will fix the problem.
     
  18. instruct9r

    instruct9r

    Joined:
    Aug 1, 2012
    Posts:
    148
    On my side this was everything to do with Drivers! I'm not sayind that the project comes blanks, we all know that. I was explaining that i can't see anything in the scene view, not even the gizmos. Read the whole thread before respondin...