Overview
One candidate API context for documented surfaces
The package source exposes account and identity, player Cloud Save, remote configuration, analytics, economy, competition, crash/log, realtime, direct peer-session, and world APIs through KiwiSdkConfig. They are app- and environment-scoped where documented. Source presence does not establish a released feature or an enabled service route.
net.kiwistudios.sdk version 26.11.0-exp.1 is an unpublished source candidate. No public download or package access, release schedule, commercial-use grant, pricing, customer quota, or support commitment is defined.Operational ownership does not establish deployment, provider activation, a customer support channel, response time, SLA, or staffed on-call coverage.
Package status
Package identity and release state
The documented source candidate is net.kiwistudios.sdk version 26.11.0-exp.1. Its manifest minimum is Unity 6000.0, presented here as a Unity 6.0+ target. License metadata is UNLICENSED.
The package is unpublished and its files grant no evaluation, use, commercial-use, or redistribution rights. This page has no public download or installation route. Use or share a candidate only when separate written authorization provides the exact archive and its checksum.
| Metadata | Current source value |
|---|---|
| Technical package ID | net.kiwistudios.sdk |
| Candidate version | 26.11.0-exp.1 |
| Unity target | Unity 6.0+ (manifest minimum 6000.0) |
| License metadata | UNLICENSED |
| Public package access | Not publicly available |
Declared package dependencies
For an explicitly authorized archive, retain the exact project package manifest and resolved lock file. These are the dependency versions declared by the current package manifest:
| Package | Declared version |
|---|---|
com.cysharp.unitask | 2.5.11 |
com.itisnajim.socketiounity | 1.1.5 |
com.unity.nuget.newtonsoft-json | 3.2.2 |
com.unity.modules.unitywebrequest | 1.0.0 |
Compatibility target and qualification
| Dimension | Declared source scope | Qualification |
|---|---|---|
| Unity Editor | Unity 6.0+; manifest minimum 6000.0. | M04 local acceptance covers the exact Unity 6000.6.0f1 macOS ARM64 Editor and named EditMode scope. It does not establish other Editor/runtime combinations or general product support. |
| Player platform and runtime | No Player support matrix is published. | No current-candidate Player/platform/runtime combination is qualified. Any future support statement needs exact Unity version, platform, architecture, graphics API, Player backend/runtime, device, and evidence. |
| Identity providers | Candidate Google, Apple, and Epic OIDC flows plus a separate Steam ticket-verification flow. | No provider is activated; native integrations and provider/platform acceptance remain unqualified. |
| Store receipts | Candidate Apple, Google Play, and Steam receipt paths. | No provider sandbox lifecycle or receipt acceptance is qualified. |
| Credential storage | Platform-native secure credential-store adapters are present in candidate source. | Native-provider behavior and applicable Editor/Player/platform combinations remain unqualified. |
| Gameplay networking | Direct Unity Netcode/Transport peer-to-peer only. | No hosted game server, gameplay proxy, or relay. Direct peer reachability and platform combinations remain unqualified. |
M04 local acceptance is recorded separately for its exact source and test scope. It does not qualify Player builds, other platform/provider combinations, production service availability, or the broader SDK-131 release scope. Evidence for another archive, Editor, platform, or test scope does not transfer. No public download, package-access route, release date, or commercial-use grant is offered.
Studio workflow
First-day workflow for an authorized studio
This candidate is not publicly downloadable or licensed for evaluation or use. The steps below describe a source workflow only; they do not grant package rights or establish that its service routes are available.
- 1Confirm authorization and package identity
Obtain written authorization and the exact package archive with its checksum. Confirm its package ID, version, Unity minimum, and declared dependencies in the archive before importing it.
- 2Pin the project dependencies
Pin the SDK and dependency versions in the Unity project manifest, then retain the resolved package lock file with the project. Do not substitute floating dependency revisions.
- 3Get the service scope
Ask the service operator for the app ID, environment, and endpoint that belong together. Use only an authorized integration and verify the required routes in that environment.
- 4Initialize once
Initialize one SDK owner at application startup using the scope and endpoint rules and bootstrap example.
- 5Choose identity deliberately
Handle restoration or sign-in errors without silently replacing the player's identity, then gate online features on current online access.
- 6Read and version Cloud Save writes
Load the current version before preparing a write. Save against that version; on a conflict, reload and reconcile deliberately, and treat a timeout as an uncertain result.
- 7Verify each workflow in scope
Editor tests and source methods do not establish Player, provider, production, or peer-reachability qualification.
Configuration boundary
App and environment scope
SDK requests carry an app ID and environment. The candidate accepts dev, staging, and production. For an authorized integration, obtain the app ID, environment, and matching service origin from its operator; this page does not publish access details. The source default origin is https://kiwistudios.co, which does not establish app access or route availability.
Set a custom BaseUrl only when the operator supplies that origin for the selected environment. Use HTTPS for remote origins. HTTP is limited to loopback development in dev. A custom BaseUrl changes request scope; it does not copy account data, queues, configuration, or credentials between environments.
Getting started
Initialize once at application boot
Create KiwiSdkConfig before using a client. Candidate config includes app/environment scope, endpoint settings, timeouts, retries, and local bounds. Use the endpoint and scope configured for an authorized integration; package defaults do not establish access or route availability.
using KiwiStudios.Sdk;
using UnityEngine;
public sealed class KiwiSdkBootstrap : MonoBehaviour
{
private void Awake()
{
if (KiwiSdk.IsInitialized) { return; }
var _config = new KiwiSdkConfig(
"ksa_replace_with_your_app_id",
"dev",
20,
10);
KiwiSdk.Initialize(_config);
}
private void OnDestroy()
{
KiwiSdk.Shutdown();
}
}
Accounts
Authenticate, cache, then resolve the SDK session
The package source includes two-step sign-in, session restoration, and SDK-session resolution methods. Route availability, account eligibility, factor delivery, and service behavior depend on the exact configured environment and are not established by these method names.
In source, RestoreSession attempts online session validation and caches a returned token. Offline identity is opt-in and can restore a recent locally cached identity after a network failure; it cannot authorize Cloud Save, realtime, or other online operations.
using Cysharp.Threading.Tasks;
using KiwiStudios.Sdk;
using System.Threading;
public sealed class KiwiSessionService
{
public async UniTask<KiwiResult<KiwiAuthResponse>> Restore(CancellationToken _ct)
{
KiwiResult<KiwiAuthResponse> _session = await KiwiSdk.Auth.RestoreSession(_ct);
if (!_session.Result || !KiwiSdk.Auth.CanAccessOnlineServices)
{
return _session;
}
KiwiResult<KiwiSdkSessionResolveResponse> _resolved =
await KiwiSdk.Auth.ResolveSdkSession(_session.Data.UserId, _session.Data.Token, _ct);
if (!_resolved.Result)
{
return KiwiResult<KiwiAuthResponse>.Failure(_resolved.Error, _resolved.StatusCode);
}
return _session;
}
}
KiwiSecureSessionStore, opt in with _allowOfflineIdentity: true, set a maximum age, and gate online features on CanAccessOnlineServices; PlayerPrefs is not accepted for offline identity.Candidate API
Anonymous and provider identity methods
The managed anonymous-sign-in overload stores a generated credential in the platform secure vault before calling POST /api/sdk/identity/v2/anonymous/authenticate. It reuses that credential after an uncertain response or restart, and it does not fall back to the legacy endpoint. If the route is unavailable, keep the credential and ask the service operator to resolve the route mismatch; do not reset the identity as a workaround.
Google, Apple, and Epic candidate OIDC flows use a Kiwi-issued one-use nonce that expires after ten minutes. A link nonce is also bound to the authenticated player. Steam uses a separate ticket-verification flow without that nonce endpoint. Provider configuration, native SDK integration, credential acceptance, recovery, and every target combination remain unqualified.
using Cysharp.Threading.Tasks;
using KiwiStudios.Sdk;
using System.Threading;
using UnityEngine;
public sealed class AnonymousSignIn
{
public async UniTask<KiwiResult<KiwiPlatformIdentityData>> SignIn(CancellationToken _ct)
{
KiwiResult<KiwiPlatformIdentityData> _result =
await KiwiSdk.Identity.AuthenticateAnonymous(_ct);
if (!_result.Result)
{
Debug.LogWarning($"anonymous sign-in failed ({_result.StatusCode}): {_result.Error}");
}
return _result;
}
}
Ordinary KiwiSdk.Auth.Logout clears the active session but retains the managed anonymous recovery credential. ResetAnonymousCredential deliberately selects a new local credential and does not delete the previous server account, revoke its other sessions, or link accounts. If sign-in or restore fails, show the safe error and resolve the scope or route issue before asking the player to start a different identity.
- The managed anonymous overload owns credential generation, secure persistence, and recovery. The explicit device-ID/secret overload is legacy; callers using it own its durable storage and recovery.
- Use
AuthenticateProviderwith the provider-specific proof, then useLinkProvideronly from an already authenticated Kiwi session. - Provider unlinking and account recovery depend on the configured service rules; package source alone does not establish acceptance.
- Console identity is not listed in the current package API coverage.
Core services
Load cached values before fetching updates
The source client can load its encrypted local cache and fetch a published configuration document for the selected environment. This describes the package request flow only; it does not establish access to a configuration portal or a deployed route.
using Cysharp.Threading.Tasks;
using KiwiStudios.Sdk;
using Newtonsoft.Json.Linq;
using UnityEngine;
public sealed class GameConfigLoader
{
public async UniTask Load()
{
KiwiSdk.RemoteConfig.TryLoadCache();
KiwiResult<JObject> _result = await KiwiSdk.RemoteConfig.Fetch();
if (!_result.Result)
{
Debug.LogWarning(_result.Error);
return;
}
int _dailyMatchLimit = KiwiSdk.RemoteConfig.GetInt("dailyMatchLimit", 5);
Debug.Log(_dailyMatchLimit);
}
}
Remote config is delivered to player clients. Do not publish match keys, credentials, private endpoints, or values that must remain secret.
Candidate API
Fetch targeted configuration
The package source exposes shared and targeted remote-configuration fetches, plus rule and assignment metadata. Targeting rules, experiment policy, and published values are service-side configuration; this guide does not establish that any configuration is deployed or enabled.
var _attributes = new KiwiLiveOpsAttributes
{
BuildId = Application.version,
Custom = new Dictionary<string, object>
{
["region"] = "na",
["skillTier"] = "gold"
}
};
KiwiResult<JObject> _result =
await KiwiSdk.RemoteConfig.FetchTargeted(_attributes);
FetchTargeted are not trusted player facts. Do not use a targeted response to authorize a competitive, security, or paid outcome.Targeted values are not written to the shared base-config cache. Use gameplay defaults when a targeted fetch is unavailable. The package source does not prove that the selected service exposes this route.
Core services
Choose JSON data or file slots
Cloud save provides two surfaces. User data is a small JSON record for profile-shaped values. Slots are immutable file commits for larger save payloads, with a manifest and SHA-256 integrity metadata.
User data protection labels
The signed-in player can write it. Use it for data that is safe to show outside the owner account.
The player-facing client can submit writes for this data. Treat it as owner-scoped, client-authoritative data.
Normal player writes cannot change it, but the owning player receives it when loading. It is not a secret store.
Version and pass it to SaveUserDataVersioned; stale writes return 409 cloud_save_version_conflict.using System.Collections.Generic;
using System.Threading;
using Cysharp.Threading.Tasks;
using KiwiStudios.Sdk;
public sealed class PlayerProfileSave
{
public async UniTask<KiwiResult<KiwiCloudSaveUserDataCommitResponse>> Save(
string _userId,
string _token,
CancellationToken _ct)
{
KiwiResult<KiwiCloudSaveLoadResponse> _loaded =
await KiwiSdk.CloudSave.LoadUserData(_userId, _token, _ct);
if (!_loaded.Result)
{
return KiwiResult<KiwiCloudSaveUserDataCommitResponse>.Failure(_loaded.Error, _loaded.StatusCode);
}
var _publicData = new Dictionary<string, object>(
_loaded.Data.PublicData ?? new Dictionary<string, object>());
_publicData["selectedTitle"] = "pathfinder";
return await KiwiSdk.CloudSave.SaveUserDataVersioned(
_userId,
_token,
_publicData,
null,
_loaded.Data.Version,
_ct);
}
}
File slots
Slot uploads commit a complete version atomically. Files are sent as base64 inside one JSON request; uploads and downloads are not streamed. Set ExpectedVersion to 0 when creating a slot or to the last observed version when replacing it. A stale upload or delete returns 409 cloud_save_version_conflict without changing the committed slot.
using System;
using System.Collections.Generic;
using System.Text;
using Cysharp.Threading.Tasks;
using KiwiStudios.Sdk;
public sealed class WorldSlotSave
{
public async UniTask<KiwiResult<KiwiCloudSaveSlotCommitResponse>> Upload(
string _userId,
string _token,
string _json,
long _lastKnownVersion)
{
var _request = new KiwiCloudSaveUploadRequest
{
SlotId = "autosave",
DisplayName = "Autosave",
ExpectedVersion = _lastKnownVersion,
Manifest = new Dictionary<string, object> { ["scene"] = "village" },
Files = new List<KiwiCloudSaveFileUploadData>
{
new KiwiCloudSaveFileUploadData
{
Path = "world/save.json",
ContentBase64 = Convert.ToBase64String(Encoding.UTF8.GetBytes(_json))
}
}
};
return await KiwiSdk.CloudSave.UploadSlot(_userId, _token, _request);
}
}
Paired-source defaults (not entitlements)
| Boundary | Source default |
|---|---|
| Slots per player | 10 |
| Total slot bytes per player | 5 MiB |
| Files per slot | 32 |
| Bytes per file | 512 KiB |
These are configurable source defaults, not customer quotas, contractual entitlements, measured capacity, or a price. They do not prove deployed behavior; the configured service may differ. Pricing, paid tiers, and customer quotas are undefined. Base64 and JSON add request overhead.
Candidate API
Player-facing achievement methods
The Unity source exposes List, Unlock, and Increment. The current Website client routes reject player Unlock and Increment writes with 403 trusted_progress_service_required; only an authorized backend service may write trusted progression. These methods do not establish a successful player write.
KiwiResponse _response = await KiwiSdk.Achievements.Increment(
_userId,
_token,
"matches_played",
1);
Candidate API
Economy client methods
The package source exposes catalog and player-state reads, virtual purchase requests, receipt-purchase requests, purchase-status lookups, and transaction-list reads. The service environment owns catalog availability, prices, limits, receipt validation, and transaction acceptance.
KiwiResult<KiwiEconomyTransactionData> _result =
await KiwiSdk.Economy.Purchase(
_userId,
_token,
"featured",
"starter_bundle",
_purchaseAttemptId);
A method in candidate source does not guarantee a configured or deployed route, payment acceptance, pricing, refund, or support policy. Pricing, paid tiers, customer quotas, and purchase support terms are undefined.
Candidate API
Read competition data
KiwiSdk.Competition exposes player statistic reads, leaderboard reads, and competition configuration reads. The Unity player client does not expose statistic writes, tournament settlement, or competition-definition methods. These source methods do not establish route deployment, app eligibility, or configured data.
KiwiResult<KiwiLeaderboardData> _result =
await KiwiSdk.Competition.ReadLeaderboard(
_userId,
_token,
"ranked_wins",
100);
Candidate API
Queue analytics and send diagnostics deliberately
The package source exposes analytics tracking, queueing, flushing, and manual crash/log calls. Its local queue defaults to 500 events and 512 KiB; each request batch defaults to 64 KiB. These are client implementation bounds, not customer quotas, server limits, or delivery commitments.
Analytics consent controls the local queue only. Experiment consent uses a separate authenticated method and current app/environment policy. A queued or submitted event is not proof of server delivery; use the response from the exact configured service.
Portal dashboards, event inspection, exports, retention controls, and match-report views are separate Website/operator surfaces. Package methods do not establish their deployment, access, or availability. Match reports are a separate source of player-reported match analytics; they do not authorize trusted statistics or achievement progression.
Crash reports and logs are manual API calls. The package does not automatically subscribe to Unity log callbacks or unhandled exceptions. Keep payloads small and omit credentials, provider assertions, match keys, and unnecessary personal data.
var _payload = new Dictionary<string, object>
{
["mode"] = "practice",
["durationSeconds"] = 84
};
KiwiSdk.Analytics.QueueEvent("match_completed", _payload, "match.v1");
KiwiResponse _flush = await KiwiSdk.Analytics.FlushQueuedEvents(
_userId,
_token,
Application.version);
Realtime
Realtime coordination, direct peer gameplay
Package source exposes authenticated Socket.IO subscriptions and candidate methods for friends, presence, lobbies, matchmaking, reservations, and peer signaling. A local event submission is not proof that a service accepted the request.
Kiwi coordinates session admission and signaling only. Unity Netcode/Transport carries game traffic directly between peers. Kiwi provides no hosted game server, gameplay proxy, or relay. Direct connectivity across devices, networks, NAT, and firewalls is not guaranteed.
- Subscribe to events before calling
ConnectAndIdentify. - Friends and blocks use the configured app and environment; presence, lobbies, queue state, and matches are also app- and environment-scoped. Only the configured canonical RIVE production app retains the account-wide legacy friend/block graph.
- Multiple handlers may subscribe to the same event. Use
Off(eventName, handler)to remove one orOff(eventName)to remove all. ConnectAndIdentifyreturns aKiwiResponse, accepts cancellation, and uses the configured authentication timeout.- Reconnects emit state callbacks and automatically re-identify with the last supplied session. Dispose the client during SDK shutdown.
- Use
JObjectfor presence and lobby payloads when the documented DTO does not cover the exact service response.
using Cysharp.Threading.Tasks;
using KiwiStudios.Sdk;
using Newtonsoft.Json.Linq;
using System.Threading;
using UnityEngine;
public sealed class KiwiRealtimeBootstrap
{
public async UniTask Connect(string _userId, string _token, CancellationToken _ct)
{
KiwiSdk.Realtime.OnAuthFailed += _error => Debug.LogError(_error);
KiwiSdk.Realtime.On("lobby:members_updated", _json =>
{
JObject _lobby = KiwiRealtimeClient.DeserializePayload<JObject>(_json);
Debug.Log(_lobby);
});
KiwiResponse _response = await KiwiSdk.Realtime.ConnectAndIdentify(_userId, _token, _ct);
if (!_response.Result)
{
Debug.LogError(_response.Message);
}
}
}
These are package source methods and DTOs, not a complete server contract. Exact event and response behavior may differ by service environment and is not established by this source reference.
Realtime notifications
Read and acknowledge the durable inbox
The candidate contract scopes notifications to the current player, SDK app, and environment. sdk:inbox:available is a wake-up signal, not the message record. Read with sdk:inbox:read after identifying, including after reconnects; pages arrive through sdk:inbox:page, with up to 50 items. Follow NextCursor while HasMore is true.
Process an item before sending sdk:inbox:acknowledge. Acknowledgements are idempotent, and sdk:inbox:acknowledged reports acknowledged, already_acknowledged, expired, or not_found. An acknowledged item no longer appears in inbox reads.
A full inbox or unavailable recipient rejects the related friend request or invite with inbox_full or recipient_unavailable, and the transaction is rolled back. Read or acknowledgement failures emit sdk:inbox:error with inbox_read_failed or inbox_acknowledgement_failed; an invalid or mismatched cursor returns an empty page with invalid_cursor. Handle these outcomes explicitly instead of assuming success.
These limits describe the current source contract and do not confirm a deployed route or service availability. Expired items are unavailable at their deadline; physical cleanup can lag.
Player-host report
Submit player-reported match analytics
In the candidate direct-peer flow, the authenticated match host may receive a one-time MatchAuthKey for submitting a report. The host is a game client, not a Kiwi-hosted server. Match totals, player fields, and other submitted payload data are player-reported analytics.
MatchAuthKey private, never log or share it, and do not treat a local request response as proof of service acceptance. This page does not define a support path for uncertain report outcomes.var _report = new KiwiMatchReportPayload
{
MatchId = _matchId,
MatchAuthKey = _matchAuthKey,
GameMode = _gameMode,
Map = _map,
AnalyticsData = _analyticsData,
GameData = _playerReportedGameData
};
KiwiResponse _response = await KiwiSdk.MatchReport.SendReport(_report);
The package adds the configured app ID and environment to the request. This candidate API reference does not prove that the match-report route is deployed or enabled.
Scope boundary
Separate package methods from operator work
The Unity facade contains player-facing API methods; it is not the SDK Portal or a service-operations console. App administration, configuration authoring, account review, backup and restore, function deployment, webhook replay, usage reporting, and operational incident handling are separate operator workflows. No customer-facing operational support path is defined here.
Website routes and portal controls in source do not establish that they are deployed, enabled, or available to a customer. Internal operational ownership does not establish staffed incident readiness. This page makes no claim about service uptime, retention execution, or operational capacity.
The client also exposes read-only account export and a separate confirmed account-closure request/status flow. Export requires the current online session and its result is discarded if that session changes. Closure has no SDK cancel or undo method; retain the request ID and check its status. Logging out, removing the package, or resetting a local anonymous identity does not delete an account. The approved 24-hour deletion target and shared-data exceptions are listed under data lifecycle; this target is not an SLA or proof of deletion.
Where the scoped function inspection route is deployed and enabled, authorized app operators can use the SDK CLI to review invocation and attempt metadata for one module. The route checks current operations.read access for the selected app and environment. It returns status, safe identifiers, hashes, fences and timestamps; function inputs, outputs, principals, provider payloads and arbitrary server logs are excluded. This inspection does not set up, deploy or qualify a function runtime, and source routes do not establish that the endpoint is deployed or available in a customer environment.
Data lifecycle
Approved retention and deletion boundaries
These are owner-approved policies reflected in the current source. They describe candidate behavior and approved limits; they do not prove qualification, deployment, worker activation, or cleanup execution in a live environment.
| Data class | Approved source boundary |
|---|---|
| Server analytics and crash reports | 90 days, including these records in SDK snapshots. Cleanup can lag during downtime or while bounded work remains. |
| Experiment exposure and holdout observations | 90 days in live data and SDK snapshots. |
| Player inbox messages | Seven days after creation while unacknowledged; acknowledgment sets expiry to one day after acknowledgment. |
| Failed or out-of-order trigger payload bytes | Seven days from the first handler failure or out-of-order receipt. Scheduled player-independent bytes remain until their due time and are purged on success or cancellation; a failed scheduled job starts a seven-day window at its first failure. |
| Local analytics queue | Bounded by item count and serialized bytes. No age-based retention window is approved. |
| Account deletion | Approved target: within 24 hours of an accepted request for separable player data and backups that can be safely rewritten. Shared data is preserved. Deletion remains blocked when ownership or safe rewriting is unknown or unsafe. The target is not an SLA and does not guarantee full closure within 24 hours. |
| Function invocation data | The current function runtime source stores invocation inputs and results, worker job payloads, function state and effect payloads. Export, erasure and retention behavior for these records is not yet qualified; this documentation does not promise a deletion window. |
| Financial, security, audit, general backup, and content release data | Retention or content-pruning windows are undefined. |
Content release storage
SDK content-release source requires an explicitly configured persistent filesystem root through KIWI_SDK_CONTENT_ROOT. The inspected SDK source has no S3 or CDN adapter configured. The production root, backing volume, configured byte limits, and deployed cleanup behavior are unverified. Positive artifact, release, and app-environment byte limits are required configuration inputs; no customer capacity or quota commitment is defined.
An approved policy is not evidence that the corresponding worker is running. Financial, security, audit, and general backup retention remain undefined; no content release pruning window is approved.
Maintenance
Upgrade the package without losing recovery state
No public update feed or installable release is available. For an explicitly authorized package change, retain the current archive and checksum, project manifest, and resolved package lock file. Review the new archive's identity and compatibility notes before updating.
Rolling back the Unity package changes client code only. It does not reverse Cloud Save writes, account actions, shared-data changes, purchases, or other service-side effects. Removing the package also does not delete project-owned files or remote data.
World schema migration is an explicit operation
The package source defines one forward world migration tuple: world and record schema 1 to 2, preserving the seed, generator version, and content version while moving the rules contract from platform-v1 to platform-v2. The migration checks the complete compatibility tuple; HTTP transport version v2 alone does not select a stored world schema. Unknown, partial, mismatched, future, and reverse paths are rejected. This source contract does not establish that a selected service environment exposes the migration route.
Durable world command records retain their original client API version and intent. If a pending record reports world_command_protocol_mismatch, recover it with the client API version that created it; do not reinterpret its command ID, clear the journal automatically, or create a replacement action. Cloud Save conflicts use their own versioned read-and-reconcile flow.
Release boundary
Source documentation is not a release record
26.11.0-exp.1 is an unpublished, UNLICENSED source candidate for a Unity 6.0+ target. No public package download, package-access route, release date, or commercial-use permission is offered.
Feature descriptions here are bounded to the candidate package source. Separate M04 local acceptance applies only to its recorded exact source and test scope; it does not establish Player support, production service availability, provider activation, commercial rights, or the broader SDK-131 release scope. The documented target is Unity 6.0+; no native, IL2CPP, or other-platform support is claimed. Source descriptions do not establish API deployment, provider activation, route availability, platform compatibility, successful integration, or general release qualification.
Reference
Check the result before reading data
Write-style calls return KiwiResponse. Typed reads return KiwiResult<T>. A failed response is data, not an exception contract: inspect Result, retain StatusCode, and show a product-safe message.
KiwiResult<KiwiCloudSaveLoadResponse> _result =
await KiwiSdk.CloudSave.LoadUserData(_userId, _token);
if (!_result.Result)
{
Debug.LogWarning($"cloud save failed ({_result.StatusCode}): {_result.Error}");
return;
}
KiwiCloudSaveLoadResponse _save = _result.Data;
The package source retries selected retry-safe reads with bounded backoff. Authentication, analytics, increments, uploads, match reports, and other side-effecting writes are not automatically retried. Treat configured service-limit errors, cloud-save 409 conflicts, and uncertain report outcomes according to the exact feature recovery guidance.
Common recovery decisions
| Result | Recovery |
|---|---|
409 cloud_save_version_conflict | Load the current save, review changes, and deliberately prepare a new versioned write. Do not resend stale data unchanged. |
403 trusted_progress_service_required | The current Website client routes reject player achievement writes. Use only a separately authorized backend progression workflow; retrying from the player client will not grant progress. |
world_command_protocol_mismatch | Use the original client API version for the pending journal record and preserve its original route and intent. |
world_journal_unavailable, world_journal_invalid, or world_journal_full | Restore readable storage or resolve existing command outcomes. Forget a selected local reference only as an explicit local action; it does not cancel or reverse the server operation. |
| Timeout, cancellation, or lost write response | Use the feature's status/readback operation and retain the same idempotency key or command ID where the feature defines one. Do not assume rollback or submit a different intent to replace an uncertain result. |
Reference
Keep credentials private and player data untrusted
| Value or surface | Boundary |
|---|---|
| SDK app ID and environment | Scope metadata; not a license, secret, or proof of access. |
| Player session token | Sensitive account credential. Keep it out of logs, analytics, and remote config. |
MatchAuthKey | Host-only report credential. Keep it secret; match report payloads remain untrusted analytics. |
| Player Cloud Save | Player-facing data with source-defined public, protected, and private labels; private data returned to its owner is not a secret store. |
| Achievements and match reports | Player-submitted progress and analytics; neither authorizes trusted competitive or paid outcomes. |
| Economy client methods | A purchase request is not proof of store payment or a committed grant. The configured service owns acceptance. |
| Gameplay networking | Direct Unity Netcode/Transport peer-to-peer traffic. Kiwi supplies no hosted game server, gameplay proxy, or relay. |
- Never put credentials in remote config, analytics, logs, crash payloads, achievements, or Cloud Save.
- Do not grant competitive or paid outcomes from client-controlled values or match reports; use a separately authorized trusted backend workflow.
- Send player data only from an authorized integration using its confirmed app, environment, and endpoint configuration.
- Collect only the player data your game needs and disclose telemetry in player-facing privacy materials.
Source reference
Candidate package API surface
| Unity source surface | Documented role | Boundary |
|---|---|---|
Auth / Identity / AccountSessions | Account sessions, anonymous identity, provider authenticate/link methods | Source only |
Profile / AccountClosure | Player-name updates, read-only account export, confirmed closure request and status | Export requires the current online session; closure has no SDK cancel/undo method |
RemoteConfig / Experiments | Shared and targeted config fetch, local cache, experiment consent | Service configuration required |
CloudSave | Player JSON data and versioned per-player file slots | Configured limits are not entitlements |
SharedCloudSaves | Shared saves, member invitations, files, and accepted ownership handoff | An invitation or offer is not acceptance or a completed transfer |
Analytics / Crash | Queue, track, flush, and manual crash/log methods | Source only; delivery is not guaranteed |
Economy / Inventory | Catalog and player reads, purchase requests, receipt/status and transaction methods | Provider acceptance is unqualified |
Achievements / Competition | Player achievement reads, legacy progress methods, and competition reads | Unlock and Increment return trusted_progress_service_required from current Website client routes |
Realtime / Friends / Presence / Lobby / Matchmaker | Realtime control-plane methods and peer session coordination | Direct peer networking only |
Presence / Safety | Typed current-activity leases, friends/world presence reads, and active-sanction reads | Current-only, bounded, and service-configured |
PeerSessions / MatchReport | Admission, reservation and signaling methods; player-host match analytics | No hosted server, proxy, or relay |
Worlds / WorldsV2 | Versioned world operations and typed contract methods | Candidate source; exact route availability unqualified |
WorldAssets | Balances, reservations, resolution, and consented ownership offers | No client grant or reversal method; trusted server authority required |
Every row describes package source, not a released feature or a deployed Website route. The separate M04 local acceptance scope is not a release, Player, provider, or live-service qualification. Pricing, paid tiers, customer quotas, and support terms are undefined.
Support boundaries
No customer support commitment is defined
No customer-facing support channel, support hours, response time, SLA, or staffed on-call coverage is published. Operational responsibility, provider activation, and deployment are also not established by this documentation page.
Pricing, paid tiers, and customer quotas are undefined. The package is UNLICENSED, and no public download or package-access route is offered.
Source candidate: net.kiwistudios.sdk 26.11.0-exp.1 · Unity 6.0+ target · Updated October 25, 2026