Load sprites from persistent data path
<p>I am downloading some sprites from my server and store them in <code>Application.persistentDataPath</code>.</p>

<p>However, I cannot load the controller using <code>Resources.Load (controllerPath)</code> because the path is outside the Resources folder.</p>

<p>Additionally, I get a <code>MissingComponentException</code> when I try to add the animation controller to the <code>GameObject</code>.</p>

<p>Here is my code:</p>

<pre><code>private GameObject SideSprite;

// ...

string controllerPath = Application.persistentDataPath+"/"+aux+"/"+aux+"Controller";
controller = (RuntimeAnimatorController)Resources.Load (controllerPath);  // Returns null

// Below I get:
// MissingComponentException: There is no 'Animator' attached to the
// "Missing Prefab (Dummy)" game object, but a script is trying to access it.
SideSprite.GetComponent&lt;Animator&gt; ().runtimeAnimatorController = controller;
</code></pre>

<p>How should I load the resources from the persistent data path?</p>