The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
How to retrieve files from the assets folder

Hello!
I have a bunch of template files which are stored in the assets folder in the unity project.
Those will be read on scene startup via XmlSerializer and FileStreams.
I'm currently using the "Application.dataPath" constant which should point to the assets folder.
This however doesn't work when I deploy the app to hololens, but it will work when I just simply launch it or deploy it to windows pc's it works properly.
Is there a proper way I can access the assets folder manually when deploying to hololens or should I do it completely differently?
Best Answer
-
HoloSheep mod
@wml here is one approach to deploying files with your project.
If you are just looking for read only access, an alternative Unity option might be the Text Asset file.
Windows Holographic User Group Redmond
WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
WinHUGR YouTube Channel -- live streamed meetings5
Answers
@wml here is one approach to deploying files with your project.
If you are just looking for read only access, an alternative Unity option might be the Text Asset file.
Windows Holographic User Group Redmond
WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
WinHUGR YouTube Channel -- live streamed meetings