title: Application.streamingAssetsPath and WebGL build
body: <p>In a project I'm working on I have two json files in the StreamingAssets directory. The script that handles them works perfectly in a Standalone PC build but doesn't work at all in a WebGL one. </p>
  
  <p>I'm getting the "Cannot find file!" message according to the script:</p>
  
  <pre><code>    else if (!File.Exists (filePath))
      {
          Debug.LogError ("Cannot find file!"); 
      }
  </code></pre>
  
  <p>I was given the answer to use the WWW class as described in the scripting API on Unity Technologies site at this address: <a href="https://docs.unity3d.com/ScriptReference/Application-streamingAssetsPath.html" rel="nofollow noreferrer">https://docs.unity3d.com/ScriptReference/Application-streamingAssetsPath.html</a></p>
  
  <pre><code>using UnityEngine;
  using System.Collections;
  
  public class ExampleClass : MonoBehaviour {
      public string filePath = System.IO.Path.Combine(Application.streamingAssetsPath, "MyFile");
      public string result = "";
      IEnumerator Example() {
          if (filePath.Contains("://")) {
              WWW www = new WWW(filePath);
              yield return www;
              result = www.text;
          } else
              result = System.IO.File.ReadAllText(filePath);
      }
  }
  </code></pre>
  
  <p>I would gladly do that but I'm too new at coding and I need some explanations. The first question I have for now is: what is this <strong>"my file"</strong> string in the line</p>
  
  <pre><code>    public string filePath = System.IO.Path.Combine(Application.streamingAssetsPath, "MyFile");
  </code></pre>
  
  <p>What am I supposed to write there? Is it a url? And if it is a url, the url of what?</p>
  
  <p>I would be very grateful is someone could hold my hand and guide me into understanding this! Thank you!</p>
  
  <p>(This is my first question here; I hope I haven't made mistakes as I don't know how this place works yet.)</p>