VeriorPies / ParrelSync

(Unity3D) Test multiplayer without building
MIT License
4.47k stars 314 forks source link

[BUG] Oculus Controller position/rotation read from project & clones #94

Open NextVertex-Flo opened 1 year ago

NextVertex-Flo commented 1 year ago

Describe the bug In VR project, moving Oculus Controller will move player hands on both instances (project & clone). However, it's not the case with controller buttons.

To Reproduce Steps to reproduce the behavior:

  1. Create a VR project with a basic hand or object following the tracked device position of your Oculus Controller
  2. Launch your game on the original unity window and on the clone
  3. Move your controller
  4. Whatever which clone window is in front, your hand will move on all the running instances

Expected behavior The device tracking should only be done for the project corresponding to the window in front / selected in order to move each player hands independantly.

Screenshots/Video image

Enviroment (please complete the following information):

Additional context I'm not sure, but I think that I didn't have this problem before. Controllers buttons are working fine (if I push the trigger of my controller, which will close my hand in my project, the hand is only closing on the game corresponding to the selected window (in front).