LocalJoost / QRCodeService

Show a MRTK2 service to read (and position) QR codes using HoloLens 2
MIT License
76 stars 25 forks source link

QRCodeService not work in 2020 onward Unity Version #10

Closed Dhruvi05IF closed 2 years ago

Dhruvi05IF commented 2 years ago

MRTKIssue hello sir,

please help me to provide a solution for bellow issue.

QRCodeService gives an error when try to upgrade the project in 2020.3.7 unity version. i will also installed Mixed Reality OpenXR Plugin using mixed reality feature toolkit.

issue is --> Assets\MRTKExtensions\QRCodes\SpatialGraphCoordinateSystemSetter.cs(20,17): error CS0246: The type or namespace name 'PositionalLocatorState' could not be found (are you missing a using directive or an assembly reference?)

LocalJoost commented 2 years ago

Unity 2020 and up require a plugin structure that is not supported by the code you use. Read https://localjoost.github.io/Upgrading-reading-and-positioning-QR-codes-with-HoloLens-2-to-Unity-2020-+-OpenXR-plugin/ and pull branch https://github.com/LocalJoost/QRCodeService/tree/openxr

Dhruvi05IF commented 2 years ago

Thank you sir for your reply