Skip to content

OnlyWorlds Unity SDK 0.57.0

Choose a tag to compare

@tmoosting tmoosting released this 27 Nov 06:52
· 78 commits to main since this release

A join preview names the Character a person's invite link offers, and a world file or folder refused for its
world.json says what is wrong with it. A minor release because it adds public API (below).

Added

  • A person's invite link can name the Character its person will play. OWJoinPreview.CharacterName is that
    Character's name, or null when the link names none, when that Character has since been deleted, hidden or taken, and
    on an agent's or a player's link (where keel sends no such key). OWWorldLinkCreate.Character is documented for a
    person link for one contributor or co-builder too, and OWWorldLink.Character for a person link that names one;
    nothing the client sends changes. Parity with the TypeScript SDK 4.211.0, its preview read with and without the key.
  • A world file refused for a world.json it cannot read says what is wrong with it:
    OWFolderFormatException.WorldFault is too_deep (nested past 200 levels) or not_json (the values of
    OWWorldFault, the folder read report's words), beside the reason not_a_world; a tool reads the field, never the
    message. It is null on every other refusal: no world.json, one that is JSON but no object, one with no id. A
    world.json holding a number too large for a double, which this reader refuses where the TypeScript reader does not,
    says number_out_of_range. A folder's refusal of its world.json carries the same field. Parity with the TypeScript
    SDK 4.212.0, its test vector ported.