Search Unity

Question Broken feature or something went wrong with "Export HDRP sky to Image" in HDRP

Discussion in 'High Definition Render Pipeline' started by BATTLEKOT, Sep 23, 2021.

  1. BATTLEKOT

    BATTLEKOT

    Joined:
    Oct 2, 2016
    Posts:
    179
    upload_2021-9-23_21-35-20.png upload_2021-9-23_21-35-40.png
    Hello everyone! When i trying to use a "Export HDRP Sky to image feature" some reason its not working in Unity 2021,2022 and probably 2020 too, but havent seen that feature in 2020.
    It should be capture panorama 360 photo but not working ?

    Button located at : Edit > Rendering > Export HDRP Sky to Image
     
  2. SebLagarde

    SebLagarde

    Unity Technologies

    Joined:
    Dec 30, 2015
    Posts:
    934
    Thanks for reporting this we will check what's wrong with it. will keep you updated
     
    BATTLEKOT likes this.
  3. HIBIKI_entertainment

    HIBIKI_entertainment

    Joined:
    Dec 4, 2018
    Posts:
    595

    in 2021.3.16f1 I have this working, however, you have to ensure that the scene has been played once already.

    There may still be issues though as
    to get it to work

    the error I had that states 'a frame needs to be rendered'
    always came up when I was in scene view or initially went in and out of play mode.

    it was only after
    -entering play mode
    -exiting play mode
    -changing from scene to game view
    -rendering the sky from the file menu

    did it actually work.

    I'm not getting that same null ref error you are however battleknot

    I've attached the render result if anyone needs it.
     

    Attached Files:

  4. BATTLEKOT

    BATTLEKOT

    Joined:
    Oct 2, 2016
    Posts:
    179
    Thank you for advise, but sadly for me it was not working.
    Enter play mode > Exist play mode > open camera views in Editor > render HDRP sky from image.

    Will wait for never versions of unity to try that again.

    upload_2021-9-30_14-18-11.png
     
    HIBIKI_entertainment likes this.
  5. HIBIKI_entertainment

    HIBIKI_entertainment

    Joined:
    Dec 4, 2018
    Posts:
    595
    No trouble at all. Sorry it didn't work for you.

    I will try and find some time to test your specific version to see if I can repro it.
     
    BATTLEKOT likes this.
  6. Julien_Unity

    Julien_Unity

    Unity Technologies

    Joined:
    Nov 17, 2015
    Posts:
    72
    Hi,
    We tried reproducing the issue on our end but unfortunately we weren't able to do so.
    Please make sure that the game view was rendered at least once before calling the feature (the game view just needs to have been active once, no need to enter/exit playmode).
    If the problem persists, please open a new issue with a minimal repro project that exhibits the issue so that we can investigate.
     
  7. BATTLEKOT

    BATTLEKOT

    Joined:
    Oct 2, 2016
    Posts:
    179
    Hey, after using a Unity 2021.2.2f1 and render game once its working fine.
    Question: Is there any way to render it in a panoramic image that can be used as spehical HDRI Skybox in game?
    + have better resolution up to 8192x4096 pixels resolution?
    Make it a "Latitude-Longitube Layout (Cylindrical) texture upload_2021-11-15_14-42-2.png
     
  8. HIBIKI_entertainment

    HIBIKI_entertainment

    Joined:
    Dec 4, 2018
    Posts:
    595

    sadly the current state is fixed and the 6 part cube map style like you see i believe, when you convert it to cube it'll change to a 1k
     
    BATTLEKOT likes this.