microsoft / MixedReality-WorldLockingTools-Unity

Unity tools to provide a stable coordinate system anchored to the physical world.
https://microsoft.github.io/MixedReality-WorldLockingTools-Unity/README.html
MIT License
188 stars 45 forks source link

Space Pin ASA restored to incorrect position on Hololens2(UWP) build #240

Closed r01hee closed 2 years ago

r01hee commented 2 years ago

Hello,

In late Aug. 2021, Space Pin ASA restored to correct position. The states at the time are following:

Then I edited PinTest Scene in WorldLocking.ASA.Examples

Then I built as Release / ARM64 and ran on Hololens2.

  1. I located Space Pins and pressed "Publish".
  2. I restarted the application and pressed "Load File".
  3. Then Scape Pins are restored at the expected place.

But, Recently (late Nov. 2021) I rebuilt this project and ran on same Hololens2, then Space Pins are restored at the unexpected place. Note that I changed the project about followings.


After that, I updated WorldLockingTools to v1.5.4, but it was no good. Then I updated OpenXR Plugin to 1.2.0, OpenXR Plugin to 1.3.0, also no good.


And then, I updated WorldLocking.ASA to use ASA SDK v2.11.0, it worked exactly as I expected.

Then I tried ASA samples (only ASA, not included WLT). Even In ASA samples, It's good on ASA SDK 1.11.2, but it's not good on ASA SDK 1.10.2, in my environment.

So I hope that WorldLocking.ASA supports ASA SDK v1.11.2.

fast-slow-still commented 2 years ago

Thank you for the detailed description. This is very helpful!

fast-slow-still commented 2 years ago

I don't doubt the accuracy of this report (many thanks again for the details!!!), but I have not been able to reproduce the issue locally. Perhaps it is a HoloLens2 OS version issue? Or perhaps a MROpenXR Plugin issue that has been fixed (I tested with v1.2.0)?

Regardless, support for ASA v2.11.0 is in and has passed all tests (using MROpenXR Plugin 1.2.0).

PR #241

Closing this issue for now. Thanks!