Quantcast
Channel: Answers by "Graham-Dunnett"
Viewing all articles
Browse latest Browse all 959

Answer by Graham Dunnett

$
0
0
Never heard that problem before. If the files exist in the Data folder in the Xcode project, then it's possible these files haven't been correctly copied over to the iOS device when Xcode deploys the app. It's probably worth dumping out the contents of the Data folder: using UnityEngine; using System; using System.IO; public class filebrowser : MonoBehaviour { void ProcessFolder(string f) { Debug.Log("Folder: " + f); var txtFiles = Directory.GetFiles(f); foreach (string currentFile in txtFiles) { Debug.Log("File: " + currentFile); } string[] subs = Directory.GetDirectories(f); foreach(string sub in subs) ProcessFolder(sub); } // Use this for initialization void Start () { ProcessFolder(Application.dataPath); } // Update is called once per frame void Update () { } }

Viewing all articles
Browse latest Browse all 959

Trending Articles



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