Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
absurd_andy's avatar
absurd_andy
Honored Guest
6 years ago

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

  • FWIW the Oculus Quest running with the link cable works great and as expected; it's only the android build that exhibits this behaviour.