All notable changes to this package are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.0.0] - 2026-10-21
Added
FileDialog.OpenFile,OpenFiles,SaveFile,SaveBytesandPickFolder, each with a callback form and anAwaitableform (OpenFileAsyncand so on) that takes aCancellationToken.FileDialog.Cancel,IsBusy,IsSupportedandFeatures(aFileDialogFeaturesflag set that says what the current platform can do).FileDialogOptions:Title,Filters,StartFolder,FileName,DefaultExtension,ConfirmOverwrite,KeepAccess.FileFilterwith ready-madeImages,Text,Json,Csv,PdfandAllFiles.FileDialogResult:Picked,CancelledorFailed, with aFileDialogErrorand a message. Cancelling is never reported as a failure.FileRef: read, write and stream a file the same way for a Windows path, an Android content URI and a file held in browser memory;ListFiles,CreateFile,CopyToCache,FromIdandFromPath.- Windows (player and Editor): the Common Item Dialog through
LuanrobsFileDialogs.dll, shown on its own thread and modal to the game window. Paths longer than 260 characters come back in full. The DLL's C++ source and build script are inNative~/Windows. - Android: the Storage Access Framework (open, open several, save, folder) started from a headless fragment;
KeepAccess,GetKeptAccessandReleaseAccessfor access that survives a restart. - WebGL: file upload through the browser's chooser, and
SaveBytesas a browser download. - Editors on other platforms: Unity's Editor file panels as a fallback.
- State is reset on Play mode exit, Domain Reload and quit, so the package works with Domain Reload disabled.
- WebGL: a pick is checked against the memory the build can still use before any copy, and fails cleanly with
PlatformErrorwhen it does not fit. Browsers that send thecancelevent rely on it alone, so a file that arrives slowly (a cloud file on a phone) is not reported as cancelled. FileRef.CreateFilerefuses.,.., control characters and reserved characters on every platform, and trailing dots and device names (CON,NUL.txt, ...) on Windows.ReadAllBytesallocates the file's size once.- Demo sample with five scenes:
00 Menu,01 Open Image,02 Save As,03 Folder,04 Many Files. - Manual with quick start, platform details, limitations and troubleshooting.
Known limitations
- Not supported: macOS, iOS and Linux players, UWP, Windows on ARM64 players.
- WebGL cannot show Save As or folder dialogs; opening needs a click or key press;
CancelAftertimers do not run there. - Tested on Windows 11 only (Editor EditMode tests including real dialogs, Mono and IL2CPP players), on x86_64 Android emulators (API 23, 29 and 36) and in headless Chrome 155 for WebGL. Not run on a physical Android device, Windows 10, other browsers, or macOS and Linux Editors.
- Unity 6000.3 raises the Android minimum API level to 25.
- Clean projects (2026-10-21): the package installed as a tarball with the Demo sample imported, in new projects on Unity 6000.3.12f1 and 6000.0.84f1. On each, 550 of 550 EditMode tests passed and the Windows Mono player passed the smoke run of all five scenes. An Android build from Unity 6000.0.84f1 (minimum API 23) passed the smoke run on an API 23 emulator.