Jump to content

[Unity, XR ELITE] TrackableMarker-related APIs seem to have ruined marker detection

Recommended Posts

I have been following this tutorial to detect ArUco markers on XR ELIET. https://hub.vive.com/storage/docs/en-us/UnityXR/UnityXRTrackableMarker.html

Everything was fine until I started to use TrackableMarker-related APIs (for example, CreateTrackableMarker(...), StartTrackingTrackableMarkers(...) ).

Marker detection broke down. I tried different methods (remove these APIs, minimize the code, double-check whther I started service/observer/detection, code debugging, reinstall program, restart headset...), and the the only way to solve this is to use a different XR ELITE.

By logging to the Unity console, I found that TrackableMarker-related APIs seem to perseve trackable-marker data and will always re-use these data and refuse to detect any new markers.

I tried to manually erase them during onEnable() or Start() via DestroyTrackableMarker and StopTrackingTrackableMarker, but still, marker detection didn't work.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...