- Home /
HoloLens 2: Open files from locations accessible via USB (persistentDataPath alternative)
Hi,
Preface: I am trying to supply an app for the HoloLens 2 with an arbitrary file (in my case an .dxf). Normally I would read from Application.persistentDataPath or something, but for some reason the Hololens' Device Portal won't let me upload files to it (requests time out). So I am looking for an alternative. Copying files onto the HoloLens via USB works, but only a very limited set of directories is available when accessing the Hololens over USB.
Actual question: How can I read files from an an arbitrary location on the HoloLens (like the User's Document folder, can be hard-coded, don't need any customizable path or anything for now). The file is not deployed with the app and thus cannot not be delivered via Resources or similar.
I would appreciate any help. Thank you for reading my question.