Native File Dialogs 1.0.0 · changelog

Native File Dialogs changelog

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, SaveBytes and PickFolder, each with a callback form and an Awaitable form (OpenFileAsync and so on) that takes a CancellationToken.
  • FileDialog.Cancel, IsBusy, IsSupported and Features (a FileDialogFeatures flag set that says what the current platform can do).
  • FileDialogOptions: Title, Filters, StartFolder, FileName, DefaultExtension, ConfirmOverwrite, KeepAccess. FileFilter with ready-made Images, Text, Json, Csv, Pdf and AllFiles.
  • FileDialogResult: Picked, Cancelled or Failed, with a FileDialogError and 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, FromId and FromPath.
  • 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 in Native~/Windows.
  • Android: the Storage Access Framework (open, open several, save, folder) started from a headless fragment; KeepAccess, GetKeptAccess and ReleaseAccess for access that survives a restart.
  • WebGL: file upload through the browser's chooser, and SaveBytes as 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 PlatformError when it does not fit. Browsers that send the cancel event rely on it alone, so a file that arrives slowly (a cloud file on a phone) is not reported as cancelled.
  • FileRef.CreateFile refuses ., .., control characters and reserved characters on every platform, and trailing dots and device names (CON, NUL.txt, ...) on Windows. ReadAllBytes allocates 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; CancelAfter timers 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.