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.

Unity Editor not loading in Oculus Rift Headset

Discussion in 'VR' started by MoctezumaDev, Oct 8, 2019.

  1. MoctezumaDev

    MoctezumaDev

    Joined:
    Aug 14, 2013
    Posts:
    53
    I'm using Unity 2019.1.6f1 but somehow the application is not loading after pressing play in Unity's Editor window, in the headset you can see a loading screen (Oculus Rift) but it get's stuck there. There are also no error in my console. Any idea how can I troubleshoot this issue?

    OculusScreenshot1570544801.jpeg

    All the XR settings and Project settings seem to be right.

    Any idea? Thanks
     
  2. ArabianArtStudios

    ArabianArtStudios

    Joined:
    Jun 24, 2019
    Posts:
    1
    Same issue here. Unity Version: 2019.2.11f1. This is a huge blocker in development. Any ideas on how to fix the issue would be appreciated!
     
  3. MoctezumaDev

    MoctezumaDev

    Joined:
    Aug 14, 2013
    Posts:
    53
    @ArabianArtStudios I updated the Oculus Rift SDK to the latest version and the issue was gone.
     
  4. eduardogarcia

    eduardogarcia

    Joined:
    Apr 9, 2015
    Posts:
    1
    @Leoniciux It still doesn't work for me, I still have the Unity Version: 2019.2.11f1, could you share the sdk url to make sure if I am installing the correct one?
     
  5. Noob_Vulcan

    Noob_Vulcan

    Joined:
    Mar 20, 2014
    Posts:
    14
    Facing same issue in unity 2019.2.15f ........ damn
     
  6. nolookjones

    nolookjones

    Joined:
    Dec 5, 2019
    Posts:
    5
    im getting this a lot on unity 2018 LTS aswell...
     
  7. UNITEDFUTURES

    UNITEDFUTURES

    Joined:
    Dec 7, 2012
    Posts:
    4
    just updated and started getting this as well.

    Any fixes?
     
  8. Noob_Vulcan

    Noob_Vulcan

    Joined:
    Mar 20, 2014
    Posts:
    14
    So i made it work on 2019.2.15f

    Steps i followed -

    1. New project
    2. Enable VR support and add oculus only
    3. Restart Unity
    4. Hit play and wait for Oculus app start in the windows
    5. Exit playmode and hit play again .... and wear ur headset ...voila

    If want it to work in Android mode(For oculus quest) -

    1 to 5 steps
    6. Switch to Android and enable VR support
    7. Hit play
     
    AshleyXiong and hhassan1230 like this.
  9. BadBeagle

    BadBeagle

    Joined:
    May 4, 2020
    Posts:
    1
    same problem... above steps no worky
     
  10. schwartz37

    schwartz37

    Joined:
    Jun 1, 2020
    Posts:
    1
    I also have the same issue and none of the above are working.
     
  11. aprilallderdice

    aprilallderdice

    Joined:
    Sep 16, 2018
    Posts:
    1
    facing same issues :( after upgrading to unity 2019.4.3f1 when I press play, it plays fine on the desktop, but the rift headset just shows the oculus waiting room. tried the steps above and not working :(
     
  12. RaviRK

    RaviRK

    Joined:
    Aug 6, 2017
    Posts:
    5
    I made a build file which worked properly for months. But now it got stuck at infinite loading in oculus while i am still able to see the input of headset being received by the unity app.
     
  13. Alexander11qq

    Alexander11qq

    Joined:
    Jul 9, 2019
    Posts:
    2
    Hi guys! The problem was solved in the following way: 1) in build settings->player setting->player - >Virtual Reality Supported-ticked the Virtual Reality SDK;
    2) delete Oculus and the rest;
    3) Install Oculus again;
    4) Launch PlayMode, wait for the project to start in Windows;
    5) Exit PlayMode;
    6) Launch the project and dive into VR.
    Everything works!
    Then you can download the Oculus SDK and do not change anything, everything will work.
     
    adamlamine likes this.
  14. Deeperbeige

    Deeperbeige

    Joined:
    May 12, 2013
    Posts:
    17
    I had this problem too, and after a lot of searching finally figured it out. Whilst I had done the settings in green below, I hadn't noticed the platform tabs in the same window (orange). As soon as I turned them on, it sprang into life.
    XRPlatformSettings.jpg
     
  15. unity_9nuA4aTR1kdfTA

    unity_9nuA4aTR1kdfTA

    Joined:
    Nov 17, 2020
    Posts:
    1
    I've been looking for this everywhere. THANK YOU VERY MUCH THIS WORKED PERFECTLY!!!!
     
    Deeperbeige likes this.
  16. Lord_Slimeball

    Lord_Slimeball

    Joined:
    Dec 1, 2019
    Posts:
    10
    So if it helps anyone this is how i solved it ( I updated an older project to new oculus XR):

    - close unity
    - delete oculus asset in assets. After this search for files starting with OVR or oculus in the assets folder - in my case there were still several config and meta files in resources or wherever. Delete these as well. I suspect these might be causing problems for a lot of people as well.
    - start unity
    - delete every xr package from xr package manager
    - re-install xr package manager
    - go to xr plugins and choose oculus
    - now finally install oculus integration.

    After the above steps it works fine for me
     
  17. solinehayes

    solinehayes

    Joined:
    Nov 5, 2020
    Posts:
    1
    Up ! I have tested all of the fix given but none of them work for me..
    I also tried to:
    - Re-install both oculus and unity versions
    - Delete the project library folder and the XRPackageSettings/XRSettings in ProjectSettings and relaunch unity
    No luck either
    Even by creating a new project and following the "Getting started" tutorials: https://developer.oculus.com/documentation/unity/unity-conf-settings/#enable-vr-support and https://docs.unity3d.com/Manual/configuring-project-for-xr.html, by creating an empty scene with just a rig, it does not work.
    - I am using an oculus rift (I also tested with an oculus quest, same issue)
    - I have tested two unity versions: 2019.4.20 et 2020.2.6

    Does anyone has any idea? Anyone in the same position as me right now?


    UPDATE: Problem resolved by updating windows
     
    Last edited: Feb 26, 2021
    Safwan69 and Folstrym like this.
  18. xOSSxKratos

    xOSSxKratos

    Joined:
    Apr 4, 2021
    Posts:
    11
    Try this, it worked for me!
    If you have another(different one that your having the problem with) unity project with Oculus as its XR Plug-in open it and press play.
    If you don't have another VR unity project make one just for the fix, open it and press play.
    After doing the above, open the project your having the problem with, press play. Should be fixed.

    Reason for the problem. Unity knows it has closed the last play session. Oculus does not, and still tries to close it, but it can't close because it's waiting for unitys ok to do so. But unity is busy trying to play the app that oculus says is open already. Then they argue like 2 kids and 1 candy.

    Reason this works. When you open and play a new app on unity. The default loading says.
    Hey Oculus if you have any unity apps currently playing, stop that, and play this one.
    If no unity apps are currently playing? Play this one.
    So oculus now closes the current glitched app. and loads the new one.

    Hope this helps, if not good luck finding your answer.
     
  19. nilagard

    nilagard

    Joined:
    Jan 13, 2017
    Posts:
    77
    Going to post an unpopular opinion, stop using depracated headsets without continued support. I know this costs alot of money that people might not have but whilst there is workarounds, they will most likely be removed in the future. The problem is at both ends like @xOSSxKratos says, both Unity and Oculus software is fighting over what happens, and it's not going to be fixed for those old headsets as they no longer have support.
     
  20. dustin_pau1

    dustin_pau1

    Joined:
    Dec 18, 2015
    Posts:
    11
    I had OVRPlugin set to use Open XR. After changing it to use the package manager-provided OVR it was fixed.
     

    Attached Files: