Forum Discussion
absurd_andy
6 years agoHonored Guest
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!
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
- absurd_andyHonored GuestFWIW the Oculus Quest running with the link cable works great and as expected; it's only the android build that exhibits this behaviour.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 2 years ago