Search Unity

Bug 2 overlapping screen-space camera uGUI canvas fail to display TMP

Discussion in 'UGUI & TextMesh Pro' started by laurentlavigne, Mar 30, 2023.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,362
    repro:
    2 screen-space camera canvas C1 and C2, each one using a separate UI camera U1 and U2
    U1.depth > U2.depth
    in such configuration all uGUI stuff such as textmeshpro will fail to display on U2
     
  2. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,362
    not only TMP, uGUI image and imagerow as well
     
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,362
    it shows in the scene view, just not in the render camera that's referenced in the canvas