Comments (15)
Hey Tim, theoretically UXT should work with OpenXR, although it hasn't been tested on UE5 and I don't have a HL2 near me at the moment to test it myself.
I remember having problems packaging the code with OpenXR plugin, though I will try it out and figure out if it works better.
I don't think I've seen packaging issues with OpenXR before, if you can get the error message causing the packaging to fail that would be really useful!
If you hit a crash on device when using the MSFT OpenXR plugin, there's a workaround for it here: microsoft/Microsoft-OpenXR-Unreal#84
I get this error when trying to use OpenXR:
Should I copy this to the OpenXR issues or did I miss something?
Was that in editor? If so, you can suppress that message by putting the call to Start AR Session
behind a branch checking if the result of Is AR Supported
is true. The MSFT OpenXR plugin should enable all the required OpenXR engine plugins. But you can double check that the following plugins are enabled:
- OpenXR
- OpenXREyeTracker
- OpenXRHandTracking
- OpenXRMsftHandInteraction
The HoloLens plugin doesn't show up. Maybe because I'm using UE5?
You're correct, the HoloLens platform support was in a plugin in UE4 but has become part of the engine in UE5
Hope that helps!
from mixedreality-uxtools-unreal.
The issue Carl linked is most likely why you are crashing, search the blueprints for StartARSession and add a small delay before it is actually called to work around this. If you are using the UXT sample project, StartARSession is called in UXToolsExamples/Common/GameMode/MRGameMode's event graph.
This is fixed in 5.1, but I do not recommend updating right now since HoloLens has a few other 5.1 engine issues that are being resolved before it comes out of preview.
from mixedreality-uxtools-unreal.
Hey @Tim-Potratz , this sounds like a platform issue more than a UX Tools one. @fieldsJacksonG , would you be able to help Tim?
from mixedreality-uxtools-unreal.
Are there any updates on this problem? It is some what critical for my app in oder to work.
from mixedreality-uxtools-unreal.
Sorry for the delay @Tim-Potratz . I've pinged @fieldsJacksonG directly, hopefully we will hear from him soon.
from mixedreality-uxtools-unreal.
@Tim-Potratz are you using OpenXR or the deprecated WMR plugin?
If you are using WMR, can you switch to OpenXR? You can make this switch by adding this plugin to your game's Plugin directory:
https://github.com/microsoft/Microsoft-OpenXR-Unreal/tree/main/MsftOpenXRGame/Plugins/MicrosoftOpenXR
Looking at the WMR QR code, I could see this possibly happening here if the QRCode was not able to be tracked:
https://github.com/EpicGames/UnrealEngine/blob/d9d435c9c280b99a6c679b517adedd3f4b02cfd7/Engine/Source/ThirdParty/WindowsMixedRealityInterop/MixedRealityInterop/QRCodeObserver.cpp#L112
Unfortunately, no new WMR changes are going into the engine, and this has been removed in 5.1.
The similar block for OpenXR's QR tracking here should be resilient to this because it more explicitly checks that the QRCode can be located:
https://github.com/microsoft/Microsoft-OpenXR-Unreal/blob/55ed0b870125a7151058a3556000603b39bc6f93/MsftOpenXRGame/Plugins/MicrosoftOpenXR/Source/MicrosoftOpenXR/Private/QRTrackingPlugin.cpp#L309
If you are already using OpenXR, I will investigate further!
from mixedreality-uxtools-unreal.
I remember having problems packaging the code with OpenXR plugin, though I will try it out and figure out if it works better.
from mixedreality-uxtools-unreal.
I get this error when trying to use OpenXR:
Should I copy this to the OpenXR issues or did I miss something?
from mixedreality-uxtools-unreal.
Did you enable the HoloLens plugin? See: https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unreal/unreal-quickstart#enabling-required-plugins
from mixedreality-uxtools-unreal.
The HoloLens plugin doesn't show up. Maybe because I'm using UE5?
from mixedreality-uxtools-unreal.
It could be, I'm not that familiar with the latest state there. Did you select HoloLens 2 support in the UE5 installation options? https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unreal/unreal-project-setup
from mixedreality-uxtools-unreal.
Yeah I already had done all those steps with WMR, which worked fine. I don't have the Mixed Reality Toolkit Hub installed, because I use the Source plugins to be on the newest state of development.
Note that the current OpenXR plugin for UE5 doesn't seem to be officially released.
Edit: Okay scrab that last part, I may have downloaded the wrong version, I will try the released one.
Edit 2: Nope, still doesn't work.
from mixedreality-uxtools-unreal.
Yes the message is in editor, though it hasn't showed up before and the app crashes on the HoloLens when trying to launch.
from mixedreality-uxtools-unreal.
Thanks the app starts now and the tracking seems to be okay. Though I can't get the actual tracking state like before.
from mixedreality-uxtools-unreal.
Okay I will move this crashing issue to OpenXR. QRCode tracking works from what I can tell.
from mixedreality-uxtools-unreal.
Related Issues (20)
- delete inputaction mapping HOT 7
- "reposition" speech command not working with OpenXR in Unreal Engine 5.0.1 HOT 2
- node 'Remove ARPIN from Local Store' not working HOT 1
- Suggestion - Use widget components for text in buttons etc. for more compatibility with fonts. HOT 2
- Issue - Scrolling Object Collection does not hide HOT 5
- Error with Anchors in UE4.27 and uxtools 0.12 HOT 1
- How to use OpenXRMsftHandInteraction Input in UE5? HOT 2
- Better documentation for requierd settings HOT 2
- Oculus Quest 2 - Text is very difficult to read from any distance on Quest 2 HOT 4
- Input Events are not firing [UE5] HOT 10
- Unreal 5.1 Support? HOT 18
- Unable to Interact with any Controls on Quest HOT 2
- Sound doesn't appear to work in packaged UE5.1.1 for Hololens 2 HOT 5
- Packing successfully, but failed to open the sample level properly.MRTK Example projects in versions 5.0 and 5.1. HOT 5
- Support for UE 5.2? HOT 2
- Client-side Hand Interactors
- When loading the UE4.27ux tools plugin, the software prompts that the engine cannot load
- Correction for simulated movement with enhanced input in public/0.12.x-UE5.1
- How to use OpenXRMsftHandInteraction Input in UE5 without uxtools
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-uxtools-unreal.