I have a really frustrating problem with my app, I'm using Vuforia and I'm trying to edit and save an xml in streamingassets from runtime, however, I get the following exception:
Unauthorizedaccessexception ... access to the path is denied.
I use the following when I get this error(only on the hololens, not in the editor):
var path = Path.Combine(Application.streamingAssetsPath, "xx.xml");
but when I save something to:
var path = Path.Combine(Application.persistentDataPath, "xx.xml");
it works perfectly. I can't do this though because of Vuforia can only access image targets in Streamingassets(right?). So does anyone have an idea what I'm doing wrong, what can I do to gain access to the streamingassets folder or change where maybe change the folder that Vuforia uses?