Search Unity

Bug cannot combine output from 2 cameras, unless viewport x or y coordinate is slightly different

Discussion in 'General Graphics' started by JacobFast, Jan 13, 2021.

  1. JacobFast

    JacobFast

    Joined:
    Apr 29, 2014
    Posts:
    47
    Unity 2020.2

    Build in render
    See screenshots

    Setup for camera1
    Setup for camera2
    Updated setup for camera2 with correct rendering - changed viewport x from 0 to 0.0001

    If this is not bug, please explain what i am doing wrong, i did similar setup in before and it was working without viewport difference magic.
     

    Attached Files:

  2. JacobFast

    JacobFast

    Joined:
    Apr 29, 2014
    Posts:
    47
    Update:
    After some random creation/deleting of cameras and canvases, problem suddenly resolved itself, and everything start working correctly with the same setup without need to change viewport value. Dont know why this happened in the 1st place.