title: Strings with the same contents are not equal?
body: <pre><code>public string OpenDialogueFile(string dialogueName) {
      if(dialogues == null) {
          dialogues = Resources.LoadAll&lt;TextAsset&gt;("Dialogue");
      }
      var text = "";
      foreach(var ta in dialogues) {
          print(ta.name + ".." + dialogueName);
          if(ta.name == dialogueName) {
              print("Found");
              text = ta.text;
              break;
          }
      }
      return text;
  }
  </code></pre>
  
  <p>This code should find a plain text file with the name requested and spit out the contents.</p>
  
  <p>With the files "test1 and test2" in <code>Resources/Dialogue</code> and requesting test1, the output is </p>
  
  <pre><code>test1..test1
  Found
  </code></pre>
  
  <p>When test2 is requested, however</p>
  
  <pre><code>test1..test2
  test2..test2
  </code></pre>
  
  <p>The program claims that test2 is unequal to test2.</p>
  
  <p>Both ta.name and dialogueName are strings, so it should be testing equality by content.</p>
  
  <p>Is there something wrong with my equality operation?</p>