title: XmlSerializer.Deserialize() Does not appear to work
body: <p>I'm able to successfully serialize and save data in XML UTF-8 format as far as I can tell but, I am not able to deserialize that very same data.</p>
  
  <p>I've tried researching this problem but, nobody seems to have the same issue of just deserialization not working. That's what I believe to be the problem at least.</p>
  
  <pre><code>    public static class XMLManager
      {
          //Save Function
          public static void SaveItemsUTF(ItemDatabase itemDB)
          {
              XmlSerializer serializer = new XmlSerializer(typeof(ItemDatabase));
              string filename = Application.dataPath + "/StreamingFiles/XML/item_data.xml";
              Encoding encoding = Encoding.GetEncoding("UTF-8");
  
              using (StreamWriter stream = new StreamWriter(filename, false, encoding))
              {
                  serializer.Serialize(stream, itemDB);
              }
          }
  
          //Load Function
          public static void LoadItems(ItemDatabase itemDB)
          {
              //Open an XML File
              if (File.Exists(Application.dataPath + "/StreamingFiles/XML/item_data.xml"))
              {
                  XmlSerializer serializer = new XmlSerializer(typeof(ItemDatabase));
                  FileStream stream = new FileStream(Application.dataPath + "/StreamingFiles/XML/item_data.xml", FileMode.Open);
                  itemDB = serializer.Deserialize(stream) as ItemDatabase;
                  stream.Close();
              }
              else
              {
                  Debug.LogError("File not found!");
              }
          }
  
          //Delete Function
          public static void DeleteItems()
          {
              //Delete an XML File
              File.Delete(Application.dataPath + "/StreamingFiles/XML/item_data.xml");
          }
      }
  
      [System.Serializable]
      public class ItemEntry
      {
          public string ItemName;
          public SaveMaterial material;
          public int Value;
      }
  
      [System.Serializable]
      public class ItemDatabase
      {
          [XmlArray("CombatEquipment")]
          public List&lt;ItemEntry&gt; list = new List&lt;ItemEntry&gt;();
      }
  
      public enum SaveMaterial
      {
          Wood,
          Copper,
          Iron,
          Steel,
          Obsidian
      }
  </code></pre>
  
  <p>When I use the SaveItemsUTF method, it successfully produces a file with the test data in the correct format in the correct location which can be seen here: <a href="https://imgur.com/a/5PJMTRh" rel="nofollow noreferrer">https://imgur.com/a/5PJMTRh</a></p>
  
  <p>However, when I use the LoadItems method, nothing appears to happen. No errors or logs in the console. No data gets loaded. It appears to do nothing. I am officially stuck.</p>