Skip to main content
New Participant
August 26, 2020

TrySetTrackingOriginMode not working on Quest

I'm using Unity 2020.1 and not using the Oculus SDK, just the native unity integration (Oculus XR Plugin). I'm trying to set the tracking origin to be floor-based (eg: room scale). This code used to work on older devices, but it no longer does - logcat says the calling function (TrySetTrackingOriginMode) doesn't work.

I was going to post a gist but I don't have permission with my account age, apparently. Here's a relevant snippet!

```List<XRInputSubsystem> subsystems = new List<XRInputSubsystem>();
SubsystemManager.GetInstances(subsystems);

foreach (var subsystem in subsystems)
{
if (!subsystem.TrySetTrackingOriginMode(flags))
{
Debug.Log("error?");```

    1 reply

    New Participant
    August 31, 2020
    FWIW the Oculus Quest running with the link cable works great and as expected; it's only the android build that exhibits this behaviour.