Repository navigation
OnlyWorlds Unity SDK 0.58.1
OWSync holds an upserted element under its own id, and a 409 from the read of a bodiless upsert is that read's
error rather than a reset, as the Godot and Unreal SDKs do. A patch release: no public name changes.
Changed
OWSync.IncrementalAsyncholds an upserted element under the id its body carries. It held every upsert under
the change row's id, so a body whose owniddiffered was held under an id the element read from the cache did
not name, and a body with noidcame back as a model with none. Now the body's ownidis the key, and a body
with none takes the row's, written into it, so the cache and the models read from it agree on one id. The Godot
and Unreal SDKs hold it the same way.- A 409
resync_requiredon the read by id of an upsert with no body is that read's error, not a reset.
OWSync.IncrementalAsyncwalked the world again on any 409resync_requiredduring the walk, the read of a
bodiless upsert's element included. The API names that answer for the changes feed only (itssinceparameter), so
a reset now follows only a feed page's 409; one from the read by id is thrown as theOWApiErrorit is, with the
cursor left where it was, as any other error from that read already left it, and the next sync reads from there
again. The Godot and Unreal SDKs answer it the same way.