yasirkula / UnitySimpleFileBrowser

A uGUI based runtime file browser for Unity 3D (draggable and resizable)
MIT License
849 stars 111 forks source link

WebGL Methods #86

Closed JoshMayberry closed 1 year ago

JoshMayberry commented 1 year ago

The file picker does not seem to work for games built for WebGL.

Could we either get some alternative functions that would make the browser's native file picker show up instead- or have the FileBrowserHelpers.ReadTextFromFile method detect we are in a WebGL app and use the browser's native file picker instead?

Here's what it looks like when I use the file picker on a WebGL project in itch.io: image

yasirkula commented 1 year ago

I've mentioned this in the FEATURES section actually but it is easy to miss it:

NOTE: Universal Windows Platform (UWP) and WebGL platforms aren't supported!

I currently don't have plans to support WebGL but do check this out: https://github.com/gkngkc/UnityStandaloneFileBrowser

JoshMayberry commented 1 year ago

No problem! :) Thanks for the link.