Other
Does URP work with OpenXR?
Hi, community!
I'm working on an app for the Hololens 2. I would like to add Visual Effects with the VFX Graph, so I need to use the Universal Render Pipeline (URP). Just as a test I created a new project with the 3D template and followed this tutorial for the setup (I'm new): https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/tutorials/mr-learning-base-02?tabs=openxr. Instead of using the samples I placed just a cube in the scene, built and deployed it on VS. It worked as expected on the Hololens. For some reason, I had to set the visibility of the spatial awareness to none to see the cube and make it work (default MRTK config files for OpenXR).
Then I added the URP, the URP-Asset and updated the material of the cube. To improve the performance I set the quality level to very low and unchecked the setting Optimize Mesh Data. And once done, I built and deployed on VS again. Well, it doesn't start. After 10 min loading, I decided to stop waiting and tried again with no success.
I'm using:
Visual Studio Community 2019 16.9.4
Unity 2020.3.1f1 (LTS)
MRTK v1.0.2103.3 beta (MRT-Fundation 2.7.0. preview 3)
MR OpenXR Plugin 0.9.2 preview
I would really appreciate some help! I do not understand why the Hololens can't load the project. It is just a cube! Does URP work with OpenXR?
Thank you very much in advance.
Laura