Search Unity

Bug The skybox in unity is white

Discussion in 'High Definition Render Pipeline' started by tao_unity237, May 6, 2023.

  1. tao_unity237

    tao_unity237

    Joined:
    Jul 25, 2022
    Posts:
    19
    why when I add "sky and fog volume" the skybox is white when there is not
    "exposure" in the volume.
    upload_2023-5-6_18-59-27.png
     
  2. SebLazyWizard

    SebLazyWizard

    Joined:
    Jun 15, 2018
    Posts:
    234
    You need to control the exposure anyway, so add it to your volume, it's not a bug at all.
     
  3. tao_unity237

    tao_unity237

    Joined:
    Jul 25, 2022
    Posts:
    19
    I have already tried but the skybox is still white.
     
  4. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    769
    Hi, have you enabled post-processing in scene view? (click the stacks icon on the left of eye icon)
     
  5. tao_unity237

    tao_unity237

    Joined:
    Jul 25, 2022
    Posts:
    19
    that one
    upload_2023-5-13_13-5-11.png
     
  6. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    769
    Is the exposure set to automatic in HDRP volume component? And is the exposure in game view suitable?
     
  7. tao_unity237

    tao_unity237

    Joined:
    Jul 25, 2022
    Posts:
    19
    Yes, it is set to automatic.
    upload_2023-5-13_13-11-40.png
     
  8. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    769
    That's weird. Maybe exposure is disabled somewhere in HDRP settings.

    There're multiple ways to disable a feature in HDRP. You can try deleting unused HDRP quality assets and make sure that exposure (or post-processing) is enabled in the only HDRP quality asset and HDRP global settings.

    You can always use Frame Debugger to check the rendering process. (e.g. any exposure related pass)
     
  9. tao_unity237

    tao_unity237

    Joined:
    Jul 25, 2022
    Posts:
    19
    When I open the HDRP wizard window and click on "Embed Configuration Editable package", the console displays the error: "Failed to install the config package Failed to embed package [com.unity.render-pipelines.high-definition -config]:
    The package must be a direct dependency of the project."
    upload_2023-5-13_18-25-41.png
     
  10. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    769
    I'm not sure what causes this problem. Maybe you can try adding it directly to project's package dependency list ("project/Packages/manifest.json") or downloading the missing package yourself.

    Code (CSharp):
    1. "dependencies": {
    2.   //...
    3.   "com.unity.render-pipelines.high-definition": "xx.x.x",
    4.   "com.unity.render-pipelines.high-definition-config": "xx.x.x",
    5.   //...
    6. }
    If it doesn't solve the problem, I suggest switching to another editor version.
     
  11. tao_unity237

    tao_unity237

    Joined:
    Jul 25, 2022
    Posts:
    19
    For the problem of the skybox, I think that it's a problem of the camera. Can you help me ?
     
  12. tao_unity237

    tao_unity237

    Joined:
    Jul 25, 2022
    Posts:
    19
    At first when I add "sky and fog volume" it works then a second after it doesn't work and the skybox is white.