OpenXR namespace Microsoft.Windows.Storage does not exist

I’m trying to build an Hololens app, following configuration that you can find here :
https://docs.microsoft.com/fr-fr/windows/mixed-reality/develop/unity/xr-project-setup?tabs=openxr

But for some reasons, when I launch the UWP build, I’ve got an issue with OpenXR on AnchorTransferBatch.cs
The type or namespace name ‘Storage’ does not exist in the namespace ‘Microsoft.Windows’. Everything seems all right in player settings.
I saw online that it could be resolved with UWP #define directives, because this namespace is unavailable in some environnements. As you can see, this is native OpenXR code and everything seems all right.

Should I stop using OpenXR to native Windows Mixed Reality plugin?
Thanks for your help!

Can you show the full error message and point out the line it is complaining about? I don’t see “Microsoft.Windows” anywhere in that code.

I was seeing something similar when trying to pull in the 1.1.0 version of com.microsoft.mixedreality.openxr. My assumption is that it is getting confused due to WinRT APIs with Unity for HoloLens - Mixed Reality | Microsoft Docs.

I just tried updating to the 1.1.1 version of com.microsoft.mixedreality.openxr (it was released Friday), and that has a fix for this.