You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you try to replicate this issue from your side: just run the example spatial-anchor.js and it will throw a read access violation on holographic.anchors.enumerateAnchors
Now here is the kicker, it only throws this access violation issue on release mode (no issues on debug).
VS V15.7.3
I tried it on a HoloLens with Windows V 17134.1011 & Windows V 17686.1003
Thanks
The text was updated successfully, but these errors were encountered:
In Release mode, this line throws the exception: SpatialAnchorStore^ anchorStore = await SpatialAnchorManager::RequestStoreAsync();`
Replacing that line with create_task(SpatialAnchorManager::RequestStoreAsync()) .then([](task<SpatialAnchorStore^> previousTask)
and changing the logic of the function to execute on completion of the task makes it work, but I'd like to understand the root cause. "await" is used extensively in the project and this might be a sign of bigger issues.
This section of code has been rewritten. Try this snippet of script and let me know if it still throws exceptions.
var anchorStore;
if (SpatialAnchorStore.isAvailable()) {
anchorStore = new SpatialAnchorStore();
anchorStore.oninitialized = function () {
}
anchorStore.onerror= function () {
}
anchorStore.initialize();
}
Hi Cristi,
Can you try to replicate this issue from your side: just run the example spatial-anchor.js and it will throw a read access violation on holographic.anchors.enumerateAnchors
Now here is the kicker, it only throws this access violation issue on release mode (no issues on debug).
VS V15.7.3
I tried it on a HoloLens with Windows V 17134.1011 & Windows V 17686.1003
Thanks
The text was updated successfully, but these errors were encountered: