Quantcast
Channel: Questions in topic: "xcode"
Viewing all articles
Browse latest Browse all 1047

iOS - Build works but in-app I'm unable to access my streaming assets because of UnauthorizedAccessException

$
0
0
I built my iOS game on Windows, then transfer the xcode export to my mac and side-load it onto my iPad, and it works beautifully except for when I go to load a file from my streaming assets folder, I get the following error in xcode: UnauthorizedAccessException: Access to the path "/private/var/containers/Bundle/Application/61598283-623C-434A-95DF-0D3D1B9033A3/ZenTrails.app/Data/Raw/Presets/Vortex.mndla" is denied. It seems like a problem with System.IO.FileStream. Do I need to do something special to allow permission to access streaming assets in iOS? I wouldn't be surprised since I have to open the fucking terminal to change permissions via "chmod +x" just to even build the game on Mac. I would just work in Unity on my Mac but for some unexplainable reason [I get atrociously bad performance][1], to the point it's unusable. Like we're talking less than 5 fps, even though my game runs at a smooth 60fps on windows AND iOS. So for the time being I'm working on PC and transferring to the Mac. Thanks. [1]: https://forum.unity.com/threads/unity-build-runs-absurdly-slow-on-macos-even-with-nothing-in-the-game-not-even-a-skybox.1036114/#post-6726559

Viewing all articles
Browse latest Browse all 1047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>