Repository navigation
OnlyWorlds Unity SDK 0.12.1
The world file Unity writes now carries its marker. OWWorldArchive.Pack places the mimetype entry first and
stored, as folder spec §4.7 asks of a writer and as the TypeScript and Python writers do, and writes zip64 from 65,535
entries. The schema pin moves to dist.42, whose two new conformance cases the reader already refused. A patch release:
no public API is added, and the list Pack returns now starts with mimetype.
Added
OWWorldArchive.Packwrites themimetypemarker (folder spec §4.7, OW-6): the first entry, stored (method 0),
no extra field, its bytes exactlyapplication/vnd.onlyworlds.world+zip, as the TypeScript SDK's and the Python
package's writers place it.Packnow writes the zip itself, since Mono'sZipArchivecannot store an entry: every
other entry is deflated (an empty one stored), each stamped 1980-01-01 00:00, in UTF-8 byte order as before; a
non-ASCII name carries the UTF-8 flag; a classic zip below 65,535 entries and zip64 from there. The listPack
returns starts withmimetype. A Unity-packed world reads the same in the reference checker, the TypeScript SDK's
readWorldFileand Windows'tar, and the reference finds no writer fault in it.
Changed
- The schema pin moves to dist.42 (
v0.32.2-dist.42; canonical00.32.02unchanged, and no decoded file moved).
The.owworldconformance set gains two cases, which the package's own test now runs: a stored entry shorter than
its declared size (fail-OW-14-stored-short, refused asnot_openable) and amimetypemarker with a byte order
mark before the media type (fail-OW-6-marker-bom, refused asmarker), 81 zips. The reader already refused both
for the cause the set names, so no read changed. The generated models changed only in their serial.