gkngkc / UnityStandaloneFileBrowser

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

"Memory access out of bounds" error with WebGL and Chrome #48

Open DaveKap opened 5 years ago

DaveKap commented 5 years ago

StandaloneFileBrowser.SaveFilePanel and StandaloneFileBrowser.OpenFilePanel calls seem to give Chrome on Windows 10 a "Memory access out of bounds" error that freezes the WebGL player for Unity and, obviously, doesn't open a file panel for usage.

HubertKrawczyk commented 3 years ago

I got the same error when I wrongly used the 'StandaloneFileBrowser.OpenFilePanel' for the WebGL platform. After I read and implemented the sample code ('CanvasSampleOpenFileText.cs' and 'CanvasSampleSaveFileText.cs') in my app, it did work with no errors.