Search Unity

Question Light explode when camera is switched

Discussion in 'High Definition Render Pipeline' started by seoyeon222222, Dec 11, 2022.

  1. seoyeon222222

    seoyeon222222

    Joined:
    Nov 18, 2020
    Posts:
    187
    Is it a bug or did I set something wrong?
    I want to know the keyword for this

    (HDRP 2021.3.14f1)
    Occurs when HDRP Quality is a specific setting
    I'm not sure exactly which parameters are causing the problem.
    I attached TEST_Quality.zip


    reproduction of the problem in the HDRP demo scene
    When the camera is switched,
    the light source shines so brightly in a very short time that it ruins the screen.
    cm.gif

    how to reproduce

    upload_2022-12-2_4-52-5.png

    Create two Virtual Cameras
    Camera Blends style is cut.
    enter playmode
    Set Active On/Off the vCam object to switch the camera
    There's a strange flashes occurs

    It can be reproduced with a normal camera.
    However, additional scripting is needed for an immediate transition between cameras.


    upload_2022-12-2_4-58-57.png



    upload_2022-12-2_5-7-34.png


    I thought of this issue as a cinemachine issue,
    so I wrote it on the cinemachine forum, and some tests and experiences have confirmed
    that it is reproduced on a normal camera regardless of the cinemachine
    So I think it's a problem with HDRP and write it here again.
    I want to delete the wrong article on another forum, but I don't think I can delete it
     
    Last edited: Dec 11, 2022
  2. seoyeon222222

    seoyeon222222

    Joined:
    Nov 18, 2020
    Posts:
    187
    TEST_Quality.zip
     

    Attached Files:

  3. SebLagarde

    SebLagarde

    Unity Technologies

    Joined:
    Dec 30, 2015
    Posts:
    934
  4. seoyeon222222

    seoyeon222222

    Joined:
    Nov 18, 2020
    Posts:
    187
  5. seoyeon222222

    seoyeon222222

    Joined:
    Nov 18, 2020
    Posts:
    187
    @SebLagarde

    Is this solved in the latest version?
    I still see a similar issue in the latest version.
    - 2021 LTS
    - 2022.2.8f1

    1.png




    2.gif
    It's a very short moment, but when i swap the volume, a flash occurs in between.
    In fact, this is a very big problem in certain situations.
    If player switch scenes or change the player's position, the entire screen pops brightly.