Git Product home page Git Product logo

Comments (5)

oleikea avatar oleikea commented on June 11, 2024

I have the same issue. I cannot reproduce the persistency across two sessions on the same device with the samples provided (https://microsoft.github.io/MixedReality-WorldLockingTools-Unity/DocGen/Documentation/HowTos/Samples/RayPins.html). Any ideas on how to get this working?

from mixedreality-worldlockingtools-unity.

oleikea avatar oleikea commented on June 11, 2024

I solved my issue by changing the XR Plug-in Management in Unity from OpenXR to Windows Mixed Reality since OpenXR is not supported by WLT.

from mixedreality-worldlockingtools-unity.

VincentThiemann avatar VincentThiemann commented on June 11, 2024

Sorry for the delay in response.

I have tried both OpenXR and Windows Mixed Reality as the XR Plug-in management, and the results were the same; nothing is persisted between sessions.

@oleikea If you don't mind, what were the versions for Unity, Mixed Reality Toolkit, and WLT that you used for your working build?

from mixedreality-worldlockingtools-unity.

oleikea avatar oleikea commented on June 11, 2024

Have you tried to enable the display of the anchor graph that World Locking Tools provide? In that way you can varify if anchors are being created in the first place. In my case, anchors were not created at all with OpenXR. After switching to Windows Mixed Reality anchors were created and persistence worked.

from mixedreality-worldlockingtools-unity.

tjsgtql avatar tjsgtql commented on June 11, 2024

i found Wrong hardcoded, maybe just outdated。

            openXRPersistence = XRGeneralSettings.Instance.Manager.activeLoader.name.StartsWith("Open XR");

you can print "XRGeneralSettings.Instance.Manager.activeLoader.name" and see what it is。in my project it is “OpenXR”.
so i change "Open XR" to "OpenXR" and republish tgz, It's solved

from mixedreality-worldlockingtools-unity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.