Repository navigation
OnlyWorlds Unity SDK 0.19.0
The hidden mark, read and kept (folder format §4.8): OWPayload.IsHidden and OWElement.IsHidden say whether an
element is hidden from whoever the world is handed to, by the one rule the npm SDK and the Python package use, and a
world file made as a share leaves hidden elements out and lists them (Pack's includeHidden). Folders declare
format 0.3.18. A minor release because it adds public API (below).
Added
- Reading the hidden mark (folder format §4.8):
OWPayload.IsHidden(body)andOWElement.IsHiddenare true when an
element'shiddenis there with any value butnullandfalse: the mark, or a doubt ("true",1) counted as
the mark, as the npm SDK and the Python package read it (Kael h58). One rule for every reader, so the word a viewer
shows predicts what a share leaves out. A folder carries no viewer identity, so the mark means hidden from whoever
the world is handed to, never from the person who opened it: a viewer shows the element with the word hidden on it,
and a reader that hands the world on leaves it out unless asked. The key is kept and written back as it came. - A world file made as a share leaves hidden elements out (folder spec §4.8, Skeld's ruling of 2026-10-23):
OWWorldArchive.Pack(worldFolder, archivePath, keepApiBlock, includePrivateRecords, includeHidden, hiddenLeftOut).
A world file is a copy, so every overload keeps an element file carrying the mark byte for byte by default, as keel's
own download keeps an owner's hidden elements. A tool making the file to hand to someone else passes
includeHidden: false: every.jsonfile (any case) directly in a type folder ofelements/or the legacy
spatial/whose JSON objectIsHiddenreads as hidden is left out whole, andhiddenLeftOut, when given, receives
their paths inside the world in entry order (its count is the count). A file there that is not UTF-8 JSON, or not an
object, is kept; nothing else is rewritten, so a visible element's link to a hidden one keeps its id. The two
defaults differ on purpose: private records out unless asked, hidden kept unless the write is a share. The npm SDK's
writeWorldFile(4.70.0) and the Python package'swrite_world_file(0.43.0) do the same.
Changed
- Folders declare format 0.3.18. The version adds the producer
inputwordcampfire-exportand rules
the hidden mark (§4.8): an element file'shidden: truestays hidden, and a push never publishes it. This SDK
writesserver, reads every word as given and keeps the mark byte for byte; it has no push from a folder (a folder
loads into a read-only cache), so nothing else moved.