gkngkc / UnityStandaloneFileBrowser

A native file browser for unity standalone platforms
MIT License
2.01k stars 317 forks source link

Building demo does not work on upload to server #29

Closed JohnGames closed 6 years ago

JohnGames commented 6 years ago

Thank you so much for this tool!

Perhaps I have some configuration issues? I took the demo included and built it. Works fine when locally hosted but fails while hosted on server.

-Link Removed-

The open never loads the content. I am sorry if I missed something more obvious.

JohnGames commented 6 years ago

This can be closed, I modified text to use the newer UnityWebRequest.

It works if I use:

private IEnumerator OutputRoutine(string url) {
        UnityWebRequest loader = UnityWebRequest.Get(url);
        yield return loader.SendWebRequest();
        output.text = loader.downloadHandler.text;
    }