Comments (3)
Hi @vimusc,
thanks for your reply! I continued my work with the OpenXR API so I don't need further help, thanks! I wasn't sure if I should leave the issue open as the actual problem wasn't solved. But I will close it now.
Thanks again and best regards
Felix
from mixedreality-qrcode-sample.
In case somebody has the same question: I could not make it work this sample. I tried to change the SpatialGraphCoordinateSystem.cs script by importing the feature Mixed Reality WinRT Projections using the Mixed Reality Feature Tool. After that I could import Microsoft.Windows.Perception.Spatial library such that the methods in the script are also available in the unity editor. However, when executing the script I got the following error with the method CoordinateSystem = Microsoft.Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview.CreateCoordinateSystemForNode(id);
ArgumentException: Value does not fall within the expected range.
Long story short: I found another example in which they used OpenXR instead of the Windows XR Plugin. In this case it worked.
https://github.com/yl-msft/QRTracking
from mixedreality-qrcode-sample.
Hi @felixvh,
in general, it is possible to use QR codes with Holographic Remoting.
You can find the remoting QR sample here.
This Unity sample seems to be not quite up to date. After following your steps and addressing various Unity errors/warnings, I got it in a state, where the CreateCoordinateSystemForNode() call succeeded.
Nevertheless, I would recommend using the never OpenXR API and the sample you linked before.
Do you need further help?
Best regards
Vincent
from mixedreality-qrcode-sample.
Related Issues (17)
- Prefab Missing Issue HOT 2
- QRCodeManager spawn old QRCode HOT 9
- Update to MRTK3 HOT 1
- The sample doesnt work with standalone remoting app with Hololens 2 HOT 12
- MRTK3 Sample HOT 1
- Not QR pops up HOT 7
- Scanning the two-dimensional code (qrCode.Data) of the Chinese content shows garbled characters
- Does not build to Windows IL2CPP
- I have met some problems about this project HOT 1
- QR-Codes are not recognized on digital displays
- Hello, I've encountered an issue at runtime where the editor isn't reporting any errors, but the recognition process isn't successful. Upon checking for errors, I found that QRCodeManager.isSupported() is returning false. This issue persists whether it's the Windows XR branch or the OpenXR branch. Additionally, during testing, the QR code prefab wasn't successfully added, and the script on the QR code didn't run as expected. I've checked settings like the Webcam, but haven't found any issues. Has anyone faced a similar problem, and if so, how was it resolved?
- Get a "COMException" error in standalone build HOT 1
- Unity .meta files missing in repo HOT 18
- Packages folder doesnt exists! HOT 3
- Crashes On Restarting The Tracking
- Cannot Build or Run due to missing references HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mixedreality-qrcode-sample.