Search Unity

XRDevice.userPresence and Samsung Odyssey

Discussion in 'VR' started by playemgames, Jan 30, 2018.

  1. playemgames

    playemgames

    Joined:
    Apr 30, 2009
    Posts:
    438
    I am trying to use XRDevice.userPresence to detect when a user has put on or taken off a headset, but it seems to only work after a minute of having the headset off with no motion. Can Unity confirm that it is only motion detection used for the Samsung Odyssey and not the sensor? I would like to see if I can check immediately when the user removes or puts back on the headset if possible, like the Oculus Rift does. any other pertinent information regarding how Unity's XRDevice.userPresence works with the Samsung Odyssey is appreciated.
     
  2. JasonCostanza

    JasonCostanza

    Unity Technologies

    Joined:
    May 23, 2017
    Posts:
    404
    Hi playemgames, are you using the application when installed/deployed to the local system or are you simulating in editor? If the latter, we are tracking a known issue where presence is not acting correctly.
     
  3. playemgames

    playemgames

    Joined:
    Apr 30, 2009
    Posts:
    438
    The latter, can you message me when this is cleared up? I can help test for it if possible.
     
  4. playemgames

    playemgames

    Joined:
    Apr 30, 2009
    Posts:
    438
    My Acer also never reports being off either, is that also a bug?
     
  5. JasonCostanza

    JasonCostanza

    Unity Technologies

    Joined:
    May 23, 2017
    Posts:
    404
    Yep, all the issues with presence while in play mode will get fixed together most likely. We unfortunately have no estimate for a fix right now, but it will be listed in the patch notes once that gets resolved.
     
  6. playemgames

    playemgames

    Joined:
    Apr 30, 2009
    Posts:
    438
    Thanks Jason, if you can remember, please just PM me when the fix is in!
     
  7. playemgames

    playemgames

    Joined:
    Apr 30, 2009
    Posts:
    438
    Did this get fixed yet?
     
  8. JasonCostanza

    JasonCostanza

    Unity Technologies

    Joined:
    May 23, 2017
    Posts:
    404
    as of Friday the fix was going through QA verification and hit some snags.
     
  9. playemgames

    playemgames

    Joined:
    Apr 30, 2009
    Posts:
    438
    Cool so maybe 2018.1 release?
     
  10. JasonCostanza

    JasonCostanza

    Unity Technologies

    Joined:
    May 23, 2017
    Posts:
    404
    Can't make promises, but I hope so.
     
  11. ValadaresBlackRiver

    ValadaresBlackRiver

    Joined:
    Aug 10, 2017
    Posts:
    4
    Is it fixed yet?
     
  12. JasonCostanza

    JasonCostanza

    Unity Technologies

    Joined:
    May 23, 2017
    Posts:
    404
    No update right now, the small snags became large snags.
     
  13. playemgames

    playemgames

    Joined:
    Apr 30, 2009
    Posts:
    438
    Is this bug fixed?
     
  14. JasonCostanza

    JasonCostanza

    Unity Technologies

    Joined:
    May 23, 2017
    Posts:
    404
    It should be fixed and backported from what I can tell to the following versions:
    2018.2.0b9
    2018.1.6f1
    2017.4.6f1.

    Apologies for forgetting to notify, my teammates ended up working on this so I fell out of the loop on it. Let me know if you're still having issues with it.
     
  15. playemgames

    playemgames

    Joined:
    Apr 30, 2009
    Posts:
    438
    Thanks will be testing this out then, been pretty full with deadlines and the like myself.
     
    JasonCostanza likes this.