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

Oculus making my game crash after headset is removed for a short time.

Discussion in 'AR/VR (XR) Discussion' started by eMoneyAdvisor, Nov 28, 2016.

  1. eMoneyAdvisor

    eMoneyAdvisor

    Joined:
    Aug 29, 2016
    Posts:
    6
    Im not sure how to debug this issue and wanted to see if anyone out there has this issue.

    I have a simple VR simulation, it has a start screen and 1 level. This is made to be run multiple times in a row, so I don't want to quit the game after one run through.

    Currently the issue is that once the game is played through once and then you take the headset off, after about 1 minute or 2 minutes of sitting idle and without sensing the oculus is on the game crashes.

    I have no idea how to figure out whats doing it, is this a normal occurrence? Does anyone know of what I should call for if the oculus is taken off your head? Anything could help, thanks!
     
  2. AndrewCzarnietzki

    AndrewCzarnietzki

    Joined:
    Jul 23, 2013
    Posts:
    186
    We have the same issue - it looks like a memory leak related to VR hibernation, and apparently it was solved in 5.4.1p1 - we're updating shortly with hopes that it fixes it. Which version of Unity are you on?
     
  3. eMoneyAdvisor

    eMoneyAdvisor

    Joined:
    Aug 29, 2016
    Posts:
    6
  4. eMoneyAdvisor

    eMoneyAdvisor

    Joined:
    Aug 29, 2016
    Posts:
    6

    @SeriousACZ Did the patch work for you?
     
  5. eMoneyAdvisor

    eMoneyAdvisor

    Joined:
    Aug 29, 2016
    Posts:
    6
    I installed new patch. Going to run tests today