Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question "Stream" Cameraview of Player 1 to RawImage that Player 2 sees

Discussion in 'Multiplayer' started by Jaschiru, Feb 1, 2022.

  1. Jaschiru


    Jan 3, 2021
    I'm working on a Project where one Player is in VR while the other Player has a UI infront of him with Buttons that change things for the VR Player.
    What I'm trying to archive is that the "UI Player" is able to see what the VR Player sees. I did this by adding a child camera to the VR Camera and sending the renderTexture from that child to a RawImage on my Canvas.
    I managed to get that set up but it only works localy.
    Whenever I try with a friend in Multiplayer (I'm using Pun) he either can't even see the RawImage or it is just a picture and not moving.
    I added a photon view to the VR Player and a Photon transform view to the Camera.
  2. toddkc


    Nov 20, 2016