Repository navigation
OnlyWorlds Unity SDK 0.12.0
The world file's last checks, and the folder's maker. An .owworld entry whose bytes fail their CRC-32 now refuses
the archive, every file checked, media and records too, as the TypeScript SDK and the reference do; the shared
conformance set (schema-dist fixtures/owworld/, dist.40) runs as the package's own test, 79 cases agreed. An
export declares folder format 0.3.14 and writes the producer line (§4.2): which tool made the folder, and from what.
The schema pin moves to dist.40 (canonical 00.32.02 unchanged). A minor release because it adds public API (below).
Added
- The
.owworldconformance set runs as the package's own test (schema-distfixtures/owworld/, dist.40;
folder spec §4.7):OWWorldArchiveConformanceTestsreads all 79 zips withOWWorldArchive.Readand checks each
verdict and each refusal's cause against the set'sverdicts.json, which is pinned to the dist's manifest, every
zip to its sha256. The set is vendored in a folder Unity does not import (Tests/Editor/Fixtures/owworld~/), so
the package's own importer never opens a hostile file in it.OW_OWWORLD_FIXTURESruns another copy of the set. - The producer line (folder spec §4.2, v0.3.14): a folder
OWFolderExport.ExportAsyncmakes says which tool made
it and from what,"producer": {"tool": "com.onlyworlds.sdk", "version": "<this package's>", "input": "server"},
aftersourceandexported_as, where the Python package'sexport_world(0.16.0) writes its own. An export is a
folder's birth, so the line is always the export's own, also when the server's world carries another folder's.
ExportFileAsynccarries the line keel's file holds verbatim, and writes none when it holds none: the file's maker
made the folder.OWWorldArchive.Packkeeps it as written, and a reader takes anyinputword, one it does not
know included. New public members:OWFolderExport.ExportProducer,ProducerTool,ProducerVersion(kept equal
topackage.json'sversionby a test).
Changed
- The schema pin moves to dist.40 (
v0.32.2-dist.40; canonical00.32.02unchanged, and no decoded file moved:
the schema, the walk, its rulings,presentation.jsonand the examples are byte for byte dist.35's). The dist
gained the packet and review extension profiles, a folder lint rule, and the.owworldconformance set (folder
spec §4.7; serial 40 adds its CRC case). The generated models changed only in their serial. - An export declares folder format
0.3.14(OWFolderExport.FormatVersion), as the Python package's 0.16.0 does.
0.3.13 rules the.owworldarchive (§4.7), which this SDK's reader follows on the whole conformance set; 0.3.14
adds the producer line (above). Aformat_versiona world already carries is still kept as it is. - The wire check's snapshot of keel's API document is refreshed (2026-10-22): every route, query parameter, header,
body key and error code the client uses is still one keel declares, and every key the join models read is one it
serves.
Fixed
- An
.owworldentry whose bytes fail its CRC-32 refuses the archive (OWWorldArchive.Read, cause
not_openable; folder spec §4.7's size bullet, the conformance set'sfail-OW-14-crc). Mono'sZipArchivenever
compares the CRC it is given, so a flipped bit in an element's deflate stream was read as other text, an element
with a broken id, without an error. The CRC is taken in the pass that copies the bytes and compared with the
central directory's. In the same pass, an entry that inflates to fewer bytes than it declares, or whose deflate
stream is broken, refuses the archive asnot_openable(it was skipped like an unreadable file in a folder), and a
mimetypemarker that is a broken entry refuses asnot_openable, notmarker: the TypeScript reader's and the
reference checker's causes. Every file in the archive is checked this way, not only the ones the read returns: a
corrupt image undermedia/, a broken file underrecords/or beside the world refuses the archive too, as in the
TypeScript reader. Those files are inflated through one buffer and never held, so the read's memory is unchanged. - A folder read (
OWFolderReader.Read,ReadEntries, and so an.owworldread andLoadInto) no longer takes a
tool's litter for an element (folder spec §4): a dot-prefixed folder underelements/(.atlas/) is not read, and
a dot-prefixed file in a type directory (an editor's swap file, a sync client's._twin) is skipped and listed in
Skipped, even when it holds a valid body. Before,elements/character/.tmp-a.jsonwas read as an element beside
the real file with the same id. The Python package's rule and test vector, ported.