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
  4. Dismiss Notice

how do i control scene in Editor with new XR plugin manager?

Discussion in 'VR' started by lz7cjc, Jun 22, 2020.

  1. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    520
    Hi
    I can only build my scene for iOs by removing the old GoogleVR tools. This means I no longer have access to the GVRemulator. How do i control my scene in editor, for testing, without this?

    thanks
     
  2. iwellsSI

    iwellsSI

    Joined:
    Jan 14, 2014
    Posts:
    7
    lz7cjc likes this.
  3. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    520
    thanks will check it out
     
  4. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    520
    looking at this page it is from 2018, before the XR plugin was available.

    My question is specifically around the new plugin and how to control the scene whilst in the editor.

    thanks
     
  5. iwellsSI

    iwellsSI

    Joined:
    Jan 14, 2014
    Posts:
    7
    I'm currently using 2019.3.15f1. I have unchecked the XR Settings in the Player Settings and instead am using the XR Plug-in Management system. I had to add the Google Cardbaord from their Git repository using the Plus button in the package manager and select Add Package from Git URL. After that I just selected the Cardboard XR Plugin in the OS options from the XR Plug-in Management menu in Project Settings.

    Even after all that, the script with the Editor controls from the resources of that tutorial still allowed me to use the mouse to look around. You may need to click on the Game window for it to start to work after clicking Play.
     
  6. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    520
    thanks for your help - the problem i have is when i migrate to Mac. I get lots of errors in XCode if i try to build with the GVRcontrols. So i have to delete this folder and remove the old VR functionality entirely. If I do this i no longer have access to GvrEditorEmulator. Are you still using that with the process above?