title: Can't read lines from file by using StreamReader on Unity3d (Android)
body: <p>I need to read a text stream by using StreamReader from file on android platform. File is about 100k lines, so even editor is getting stuck if i try to load it all to TextAsset or if i use WWW.</p>
  
  <p>I simply need to read that file line by line without loading it all to a string. Then i'll do a tree generation from the lines that i got from the file. (But probably that part doesn't matter, i just need help on file reading part.)</p>
  
  <p>I'm giving the code that i wrote down below. It works perfectly on editor, but fails on android.</p>
  
  <p>I would be glad if anyone tell me, what am i missing.</p>
  
  <p>(ps. english is not my native and this is my first question on the site. so sorry for the any mistakes that i may have done.)</p>
  
  <pre><code>private bool Load(string fileName)
       {
           try
           {
               string line;
               string path = Application.streamingAssetsPath +"/";
  
               StreamReader theReader = new StreamReader(path + fileName +".txt", Encoding.UTF8);
  
               using (theReader)
               {
  
  
                   {
                       line = theReader.ReadLine();
  
                       linesRead++;
                       if (line != null)
                       {
                           tree.AddWord(line);
  
                       }
                   }
                   while (line != null);
  
  
                   theReader.Close();
                   return true;
               }
           }
  
           catch (IOException e)
           {
               Debug.Log("{0}\n" + e.Message);
               exception =   e.Message;
               return false;
           }
       }
  </code></pre>