MicrosoftDocs / mixed-reality

Mixed Reality documentation
Creative Commons Attribution 4.0 International
173 stars 181 forks source link

Unable to Render PV Camera in Unreal HoloLens 2 #699

Open frank-Regal opened 1 year ago

frank-Regal commented 1 year ago

[Enter feedback here] We are following the linked tutorial (https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unreal/unreal-hololens-camera?tabs=426) to try and render the HoloLens 2 PV camera in an Unreal application, but have been unsuccessful. We followed the tutorial exactly. What seems to be happening is that the image texture that is supposed to show up on the Blueprint plane in our blueprint never shows up. The plane resizes, then flashes Red Green Blue White rapidly a few times then the plane goes transparent. We know the plane is transparent and the plane is still in the scene because our hand rays interact with something transparent were the plane should be when trying to click on the plane in the HoloLens. We are not sure we are receiving the correct data from the ARTexture Object? Is there any way we can debug this or any extra steps that are not shown in the tutorial related to the material created?

We are using Unreal Engine 4.27.2 with the Microsoft OpenXR and OpenXR plugin enabled.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Azariel0315 commented 1 year ago

Hello! My name is Trystan and I am a student at the University of Nebraska-Lincoln. I am running into the same problem and was wondering if you found a solution or workaround to this. Any light you could shed on the situation would be much appreciated. Thank you for your time!

frank-Regal commented 1 year ago

@Azariel0315 We have not been able to find a solution for this. Currently in the process of updating our project to UE5.1 with the hopes the issue was resolved with the latest engine.