Problem with instancing of prefab

Options
Hi guys, i'm doing a multiplayer game for virtual reality, i'm using Photon PUN 2 and VRTK plugin. I use the simulator for test because i only have a HTC Vive. I was able to create a room where 2 players can see eachother, but when i enter in the room for single player with Unity the MyPrefab has View ID : 1001 and is checked in the box "controlled locally". When i enter with another pc with the "file.exe", i notice in Unity that the prefab with View ID : 1001 is impossible to move and it creates a "copy" which has a View ID : 1004 and it's controlled locally. I also notice that there are 2 prefab for the second player : the player and the copy. They have, respectively, View ID : 2004 and View ID : 2001. Only the first can move.
I have a script created by me which associates left and right controller with VRTK Manager. VRTK Manager is present in all scene. I noticed that the prefab with View ID : 1001 loses the referece to the controllers. Help me please :)

Comments

This discussion has been closed.