All notable changes to this package are documented in this file.
The format follows Keep a Changelog, and the version numbers follow Semantic Versioning.
[1.0.0] - 2026-10-08
Added
XlsxWriterandXlsxSheetWriter: a streaming .xlsx writer with several sheets. Rows are compressed as they are added, so a large sheet is never held in memory as a whole, and the shared string table is bounded (65,536 distinct texts, about 4 million characters; later texts are written inside their cells). Output goes to a file, to aStreamthat does not have to seek, or to memory (ToArray()).- Cell types: text (shared strings, or inline with
UseSharedStrings = false), numbers (NaN and infinity are written as the error#NUM!), booleans, dates and times (stored as serial numbers with a date number format, with the 1900 leap-year quirk handled), and formula text that is stored and not calculated. Values convert toSheetCellimplicitly. SheetStyle: bold, italic, underline, font colour, fill colour, borders with three thicknesses, horizontal alignment, wrap and number format;SheetColor(also from UnityColorandColor32) andSheetNumberFormats. A style applies per cell, per row or per column.- Layout:
SetColumnWidth,SetColumnStyle,FreezePanes,MergeCells,SetAutoFilterandSkipRows. Hyperlinks withSheetCell.LinkandWithLink. - Large exports:
AddRow(SheetCell[] cells, int count)for a reused row buffer,XlsxWriterOptions.UseSharedStrings, andXlsxWriterOptions.Compression(Store,FastorCompact). XlsxReaderandXlsxSheetReader: sheet names, and rows and cells with their types, from a file, abyte[]or aStream. Shared and inline strings, numbers, booleans, error values, dates recognised through the number format of the cell (1900 and 1904 date systems; in both, a serial below 1 is a time on 1899-12-31), and cached formula results. A cell that reuses a shared formula reports the formula for its own position. Cells that were read can be written again, cells that hold only a time included.CsvWriterandCsvReaderfor RFC 4180: quotes, embedded line breaks, a chosen delimiter, an optional byte order mark, culture-invariant.CsvOptions.SheetMap<T>: columns declared with delegates (header, getter, optional setter, number format, width) to export a list of objects to .xlsx or .csv and to read rows back into objects, with no reflection. It fills the layout of anXlsxSheetWritersheet and accepts anyISheetRowWriterandISheetRowReader.SaveXlsxandSaveCsvwrite through a temporary file, so a failure leaves an earlier file as it was; an earlier file is replaced withFile.Replace(or two renames where it is not supported), and if that step fails the new data is kept and the exception names the files.SheetAddressto convert between zero-based indexes andA1notation.- The package's own ZIP container, DEFLATE compressor and decompressor (stored, fixed and dynamic blocks), CRC-32 and XML code, based on the published specifications: RFC 1951, the ZIP application note, ECMA-376 and RFC 4180. No
System.IO.Compression, noSystem.Xml, no reflection on your types, no native plugin and no third-party code. - Any instance can be created and used on any thread, one thread at a time. The package starts no threads, keeps no mutable static state and logs nothing; failures are exceptions.
- Demo sample with 4 uGUI scenes:
00 Menu,01 Export Table(a high-score table exported to .xlsx and .csv),02 Read Spreadsheet(a bundled spreadsheet read into a list) and03 Stress Export(a 100,000-row export with timing). Files are saved in aSheetMakerfolder underApplication.persistentDataPathand the path is shown. - Manual with API reference, limitations and troubleshooting, as
Documentation~/index.md. - EditMode tests, with small fixture files.
Tested
- The manual lists the tested configurations in a table. The EditMode tests passed in Unity 6000.3.12f1 and in Unity 6000.0.84f1 (2088 tests in each on 2026-10-09, after the corrections that followed a code review; 2100 tests in each on 2026-10-15, after the corrections that followed a second review), and the demo passed its automatic run as a Windows Mono player and a Windows IL2CPP player (both 2026-10-09) and as a WebGL build in a headless browser (2026-10-08, before the corrections). On 2026-10-15, after the second corrections, the package was installed from a tarball in new Unity 6000.3.12f1 and 6000.0.84f1 projects, where its 2100 tests passed and the demo passed its automatic run as a Windows Mono player, and the demo passed its automatic run as a Windows IL2CPP player of the development project and as an Android IL2CPP player on two x86-64 emulators (API 36 with an APK from Unity 6000.3.12f1, and API 24 with an APK from Unity 6000.0.84f1). Also on 2026-10-15, after the second corrections, Play mode was entered three times in a row in Unity 6000.3.12f1 with Domain Reload disabled: the files written through the public API and the package's static fields were the same in each session.
- Files made by Microsoft Excel, LibreOffice and Google Sheets were not available on the test machine and were not tested.
- Not run for this version: Android on a physical device, Windows 10, macOS, Linux and iOS, browsers other than Microsoft Edge, and clean test projects other than a tarball install in a Built-in project (URP, the Input System package, an install under
Assets). The manual lists them under "What was tested and what was not".
Known limitations
- Out of scope in 1.0.0. Charts, images, pivot tables, conditional formatting, formula evaluation, password protection, the old binary
.xlsformat,.ods, cell comments, rich text inside one cell, Google Sheets or any online sync, and Editor importers that turn sheets into ScriptableObjects. - Also not included. Automatic column width, row heights, font name and size, vertical alignment, a WebGL browser-download helper, CSV formula-injection escaping, and encodings other than UTF-8 for streams and files.
- Limits. 1,048,576 rows and 16,384 columns per sheet; 32,767 characters per text, 8,192 per formula and 2,079 per link; 65,530 links per sheet; 64,000 different styles per workbook; column width up to 255; number format codes of up to 255 characters; sheet names of 1 to 31 characters, and not
History, a name spreadsheet applications reserve. Going past one throws an exception. When reading: at most 134,217,728 characters of shared strings in a workbook, where each item counts as its length plus 16 (so at most 8,388,608 items), and 4,000,000 cells in oneReadAllRows()call unless you pass a higher limit; past either the reader throwsSheetFormatException. - Large sheets.
MergeCellscompares a new range with every earlier range of the sheet when it does not start below all of them, which is the case for a second merge in the same row, so tens of thousands of such merges take seconds; one merge per row, from the top down, stays fast. When reading, a sheet keeps the first formula of each shared formula group up to 16,777,216 characters in all; past that, a cell that reuses a later group reports an emptyFormulaText, as a cell whose formula text the file does not give. - Formulas are stored, not calculated.
SheetCell.Formulawrites the formula text only. A spreadsheet application calculates it when it opens the file. This package's reader, and any reader that does not calculate, sees no value for it. - Set the layout before the first row. Column widths, column styles and frozen panes must be set before the first row of a sheet; a later call throws
InvalidOperationException. Only the sheet added last can be written to. - Styles, links, merged ranges and column widths are not read back. Cells from a reader have no style and no link, and a merged range is returned as plain cells with the value in its top-left cell.
- Dates. Only the 1900 date system is written. A date before 1899-12-31 cannot be stored in a date cell: writing one throws
ArgumentOutOfRangeException. 1899-12-31 itself is the day of a time without a date: a cell that holds only a time is read as that day and can be written again. This also holds for a workbook in the 1904 date system, so there a cell dated 1904-01-01 is read on 1899-12-31, with its time. Dates are stored as given, with no time zone conversion, and a date read from a text is the clock value as written, whateverZor offset follows it. - Numbers are doubles. Integers beyond 2^53 and decimals beyond about 15 significant digits are not kept exactly, in .xlsx and in .csv alike, because a number cell holds a double. Write 64-bit identifiers (Steam IDs, ticks) as text:
AsLong()reads a text that is a whole number exactly. - No ZIP64. Files of 4 GiB or more are not supported: the writer throws
NotSupportedExceptionand the reader throwsSheetFormatException. - The file type can be reported as a plain ZIP.
[Content_Types].xmlis the last entry of the archive, so a tool that guesses the file type from the first ZIP entry may report a generic ZIP archive. - CSV text that starts with
=,+,-or@is treated as a formula by spreadsheet applications when they open the file (some also when a tab or a carriage return comes first). The package does not escape it: check or prefix (with an apostrophe, for example) any text you did not write yourself. - CSV is culture-invariant. Numbers are always written with a decimal point and dates with
CsvOptions.DateFormat. An application that opens the file with the user's own number settings may show them differently. - WebGL. There are no threads, so export on the main thread or in slices over several frames.
Application.persistentDataPathis the browser's virtual file system, so giving the file to the player needs a JavaScript download that this version does not include. - Android StreamingAssets. Files inside
StreamingAssetsare not plain files: read them withUnityWebRequest, or ship the workbook as aTextAsset(.bytes) and passtextAsset.bytestoXlsxReader. - Other applications. Files made by Microsoft Excel, LibreOffice and Google Sheets were not available on the test machine and were not tested. Which configurations were run is listed under Tested configurations.