Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Same ViewID's problems ?

Discussion in 'Multiplayer' started by Ailes, Mar 25, 2014.

  1. Ailes

    Ailes

    Joined:
    Mar 7, 2014
    Posts:
    1
    Hi, all.

    I have a question about ViewID.

    I'm making a Network 3D Game, and I put NetworkViews to each objects.

    In my mistake, I assigned same ViewID to player's object.

    For ex.) PlayerA's object and camera has same ID( ID:1 ). PlayerB's object and camera has another same ID(ID: 2).

    Now, my game runs correctly with same IDs exists.

    Are there any problems about same ViewIDs ?

    Thanks :)
     
  2. unityuser1324235141

    unityuser1324235141

    Joined:
    Apr 5, 2013
    Posts:
    44
    If the camera is a child of the Player object, it's fine. If not, you'll encounter problems down the road.