Post

Replies

Boosts

Views

Activity

Reply to Request File Access from Unity for Apple Vision Pro
Thank you again! As the project is (currently) only for internal testing, the Document directory way works fine for now. I've set the keys (both were necessary), and now the App's Documents folder shows up in "On My Apple Vision Pro". Reading & writing content in there via Unity's Application.persistentDataPath works fine as well. Just what I wanted. Thank you very much for your help!
Topic: Spatial Computing SubTopic: General Tags:
Oct ’25
Reply to Request File Access from Unity for Apple Vision Pro
Thanks @DTS Engineer for your quick & detailed answer!! So, my immediate question here is what your larger "goal" here actually is? I am working on a Gaussian Splatting App using the UnityGaussianSplatting package and building for Apple Vision Pro. I want to be able to load splat (.ply / .splat) files from the Vision Pro's storage into the application. This won't work. The primary goal of the App Sandbox is to protect "user data", which is exactly the kind of data you want access to. Yeah, that was also what I suspected. Hence my question what the intended way to access files from an app would be. apps get access to files through one of two broad mechanisms: Thanks for referring to these, I think I stumbled upon it while researching, but did not consider them further yet because they are solutions that require editing the code in Xcode. Which poses two problems for me: 1 - I don't have a lot of experience with Swift and how Xcode apps are structured. 2 - The Xcode project is generated from Unity, so I would have to change the generated files which I don't know my way around every time I build a new version from Unity That's why I hoped that there might be a solution to access these features from Unity directly, but I guess there isn't... I will try approach #1, as that seems to require less effort from the Xcode side. Do you know if the "Documents folder located in the app’s home directiory" (mentioned in the documentation) has some relation to Unity's Application.PersistentDataPath? Because after all I will require some way to expose whatever path / files I have access to on the Apple Vision Pro (even if I got this access through inserting additional Swift code) to the C# / Unity side of things so I can handle file loading there. I hope I made my problem and requirements clear. Thanks for your support!
Topic: Spatial Computing SubTopic: General Tags:
Oct ’25