Search Unity

Question Having problems with Windows.Storage class on Windows 11 for Hololens 2

Discussion in 'AR' started by DianaRito0304, Jul 22, 2022.

  1. DianaRito0304

    DianaRito0304

    Joined:
    May 16, 2022
    Posts:
    4
    Hi!

    I'm working with Unity (version 2020.3.34f1) and Hololens 2 to build an app.

    I'm currently having problems trying to access the Hololens 3D Objects folder path via c# scripts. I'm aware that I will have to use this class: https://docs.microsoft.com/en-us/uwp/api/windows.storage.pickers.fileopenpicker?view=winrt-22621, but when I write "using Windows.Storage" it appears an error saying that "the type or namespace name Storage does not exist in the namespace Windows ".

    I have followed several suggestions I have seen on the internet but none have worked. Any suggestions? Has anyone managed to get it working for windows 11?
     
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062