My reports
Submit feedback
Investigation titles and descriptions are summarized by AI from Meta based on reports submitted by developers
Implement CancellationToken Support in Async Functions
Investigating
Suggestion
1 report
Created 3 days ago
0
Add your report
Subscribe
Suggest an edit
Copy link
Category
Mixed Reality > Mixed Reality Utility Kit (MRUK)
Platform
Unity
Investigation summary
The feedback suggests adding support for CancellationToken in all async functions to prevent race conditions when stopping and starting new operations. Specifically, the functions that need updating include MRUK.Instance.LoadSceneFromJsonString, MRUK.Instance.LoadSceneFromPrefab, MRUK.Instance.LoadSceneFromDevice, OVRAnchor.SaveSpacesAsync, OVRSpatialAnchor.SaveAnchorsAsync, OVRSpatialAnchor.LoadUnboundSharedAnchorsAsync, OVRSpatialAnchor.ShareAsync, and OVRSpatialAnchor.EraseAnchorsAsync. Currently, users are experiencing difficulties due to the lack of CancellationToken support, leading to the use of workarounds such as Mutex's to manage concurrent operations.
Still need help?
Tell us what you need support with and we'll find the best solution for you.
Get support
Get answers from the community
If you're having trouble, find answers to your questions from Meta Quest users around the world.
Go to community forum