Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Video Player Camera Near/Far Plane more than one

Discussion in 'Virtual Production' started by xzodia, Dec 21, 2022.

  1. xzodia

    xzodia

    Joined:
    Jan 24, 2013
    Posts:
    50
    I want to render multiple cameras to the screen each with their own video player rendering to their Near or Far plane.
    However, when I tried to do this all the cameras render the same video.
    Is this a bug? Is there anyway to make this work?
    My main reason for wanting to take this approach is that I understand it is the most performant option.
     
    CodeRonnie likes this.
  2. marc_tanenbaum

    marc_tanenbaum

    Unity Technologies

    Joined:
    Oct 22, 2014
    Posts:
    637
    Can you post some screenshots of your setup (hierarchy/inspectors)? I'm not sure I'm clear on what exactly you're trying to do.
     
  3. xzodia

    xzodia

    Joined:
    Jan 24, 2013
    Posts:
    50
    For demo purposes below, the screen in split into 4 sections, rendering 2 cameras in the BL and TR corners.

    Expected Result:
    upload_2022-12-21_15-39-5.png

    Actual Result:
    upload_2022-12-21_15-38-35.png
     
  4. xzodia

    xzodia

    Joined:
    Jan 24, 2013
    Posts:
    50
    Video player setup

    upload_2022-12-21_15-41-36.png
     

    Attached Files:

  5. marc_tanenbaum

    marc_tanenbaum

    Unity Technologies

    Joined:
    Oct 22, 2014
    Posts:
    637
    Let me do some checking and I'll see if there's a sensible answer.
     
  6. marc_tanenbaum

    marc_tanenbaum

    Unity Technologies

    Joined:
    Oct 22, 2014
    Posts:
    637
    Hey @xzodia

    I've asked the Video team and gotten some useful info.

    It looks like you've stumbled on a long-standing bug that's only recently been addressed in 2023.1.0a20, and the fix hasn't been back-ported, at least not yet.

    Hope this helps!
     
    CodeRonnie likes this.