Search Unity

Bug Pixel Perfect Camera Stretch Fill Resizing Window Bug

Discussion in 'Universal Render Pipeline' started by Jiaquarium, Oct 18, 2021.

  1. Jiaquarium

    Jiaquarium

    Joined:
    Mar 22, 2020
    Posts:
    45
    When using Pixel Perfect Camera with URP, with Stretch Fill enabled (and Crop X & Y enabled), I build the game with Player Settings > Windowed or Fullscreen Window.

    When resizing the window, the cropped portions of the letterbox are filled with Red. Additionally at some dimensions, the red also contains artifacts from the UI screen space overlay and the rendered image.

    I would do the letterboxing myself but I want to use Pixel Perfect Camera to handle scaling for me. I also need to allow for resizing the game window.

    I'm on Unity 2021.1.24 and URP 11.0.0. Using and build was for macOS.

    (below) Red fill in build



    (below) Artifacts at certain dimensions

     
    ceiline likes this.
  2. ceiline

    ceiline

    Joined:
    Dec 26, 2020
    Posts:
    3
    Same issue, bumping!