# FAQ

## The SDK

**Does it cost anything?** No. It is free for free and paid games, with no paid tiers. The condition is the
"Powered by 360sona" credit, which the SDK draws. [Licence and credit](licence.md).

**Is it made by Microsoft?** No. 360sona is not affiliated with or endorsed by Microsoft, and your game must not say
it is.

**Which platforms?** The web, Windows, Linux (x64 and arm64), macOS, iOS, Android and Xbox 360 homebrew, each with
a download. [Platforms](platforms.md).

**Which languages and engines?** JavaScript, C, C++, C#, Rust and Python; Unity, Godot, Unreal and Blender.
[Installing](install.md).

**Do I need an app id?** Not for the live avatar on a web page, the wardrobe search, random avatars or MCP. You
need one, free, for the SDK downloads, the gamertag lookup and sign-in. Make one on [Your apps](https://360sona.com/devapp.html).

**How do I get the SDK?** Sign in to [Your apps](https://360sona.com/devapp.html), make an app and download Setup from its
**Set up** tab, for Windows, Linux or macOS. Setup installs the tools, SDK Studio and the SDK for what you are making,
then draws an avatar to show it works. [SDK Setup](guides/setup.md).

**Can my team use my copy of Setup?** One copy runs on up to three computers. Download a copy for each person; the
**Set up** tab lists every copy and turns any of them off.

**Can I see it run before I install anything?** Yes. The [web tutorial](tutorials/web.md) has a See it in action
button that runs its code in the page, and the [playground](playground.md) changes the costume, clip and camera and
gives you the code.

**What is SDK Studio?** The SDK's desktop app. Browse and try on items, build avatars, put a crowd in a scene, start a
project from a template and read these docs with no network. [SDK Studio](guides/studio.md).

**Where do I start a project?** From a template: a plaza, a lobby, a VTuber kit, VR, a bot and server, and plaza
starters, each ready to run. [Templates and starters](guides/templates.md).

**How do I know a new version is out?** SDK Studio checks once a day and shows a bar when there is one. On the
command line, `sona update` says whether one is out and what changed. [Versions and migration](versions.md).

**How does my app get write access?** Reading (`profile:read`, `avatar:read`, `awards`) is granted when the app is
made. To change what players have (`profile:write`, `avatar:write`, `xbox`), ask on the **Sign-in** tab of Your
apps, or with `POST /sona/v1/apps/{id}/ask`, with a line on what it is for. The app keeps working
while it waits, and the tab shows the answer. [Write access](web-api.md#access).

**Does the SDK call home?** Only through the gate. With the gate as a source, the context checks its build with
360sona and reports how many items it read, for the daily allowance; a folder or console source makes no network
call at all. [Item files, the gate and the licence](concepts/sources.md).

**Is there an offline copy of these docs?** Yes: `sona docs search <words>` and `sona docs show <page>` read the
SDK's pages with no network, and SDK Studio has them in its Docs pane. [CLI reference](reference/cli.md#docs).

## Avatars

**What is a manifest?** The 1,000 bytes that describe one avatar: body, colours, face and the item worn in each
slot. Text APIs carry it as base64. [Concepts](concepts.md#the-manifest).

**Where do I get one?** From 360sona.com's editor (the share box), from a gamertag, from a player who signs in, or
made in code with `sona_make_random`. [Making avatars in code](guides/makers.md).

**Can I show the avatar on someone's Xbox account?** Yes, from the gamertag:
`GET /sona/v1/gamertag/{gamertag}?client=YOUR_APP_ID`. [An avatar from a gamertag](answers/avatar-from-a-gamertag.md).

**Can players edit their avatar inside my game?** Yes. The player editor is a component you open and get a manifest
back from. [The player editor](guides/editor.md), [the editor element](guides/web-editor.md).

**Can I add my own clothes?** Yes: paint on a stock shape, or bring your own skinned mesh.
[Custom items](guides/custom-items.md).

**How do I find an item's id?** Search the offline catalogue: `sona catalogue search <words>`, or
`sona_catalogue_search` in code. [Items and slots](concepts/items.md).

**Why does an item go on one body and not the other?** Most clothes are made for the man's body or the woman's.
The catalogue says which, and changing an avatar's body swaps each item for its variant. [Items and slots](concepts/items.md#bodies).

**Can a desktop app use Sign in with 360sona?** Yes, with a loopback redirect: listen on a free port and send
`http://127.0.0.1:{port}/callback`, with PKCE. [Sign in with 360sona](web-api.md#sign-in).

## Drawing

**Where do the item files come from?** From the 360sona gate over https, or from a folder you own. They are read at
run time and never shipped in your game. [Installing](install.md#avatar-files).

**Does it work offline?** With a folder source, yes. With the gate, what has been read stays in the memory cache
for the run.

**The avatar does not appear.** It is still loading, a source has none of its items, or the licence was refused.
[Troubleshooting](troubleshooting.md#the-avatar-does-not-appear).

**How many avatars can I draw?** The bench draws 1,000 different avatars at once, and 10,000 with level of detail
on. [Performance](performance.md) has the frame times, load times and memory for both.

**Can I draw them with my own renderer?** Yes. `sona_pose` gives posed meshes, materials and a joint palette each
frame; the Unity, Godot and Unreal packages are built on it. [Your own renderer](guides/own-renderer.md) shows the frame loop
and the skinning in five languages.

**Can I draw without a window?** Yes, on a GPU or a software device. [Headless rendering](guides/headless.md).

**An item draws broken or with the wrong picture.** A few items' own files are damaged where they come from.
Ask for a look at it with its id: `POST /sona/v1/requests` with `"kind": "bug"` ([requests](web-api.md#access)).

**It is slow on a machine with no graphics card.** A software renderer (Microsoft Basic Render Driver, llvmpipe,
SwiftShader) draws on the CPU. Use the low quality tier there; `sona_tier_detect` picks it.
[Quality tiers](guides/tiers.md).

## Animation

**Which animations are there?** The stock clips (idles, emotes, reactions), each with a name and an enum.
[Clips](guides/clips.md).

**Can I use my own animations?** Yes, from glTF, FBX or BVH, retargeted to the avatar. [Imported clips](guides/import.md).

**Can the avatar talk?** Yes: lip sync from audio, and a face you set shape by shape. [Lip sync](guides/lipsync.md).

## Shipping

**What must my game show?** "Powered by 360sona", linking to https://360sona.com. The badge does it.
[Licence and credit](licence.md#the-credit).

**Can I sell the items?** No. They are Microsoft's and its partners' work. [What may a game ship?](answers/what-may-i-ship.md)

**Will an update break my build?** Not within two minor versions. [The stable ABI](guides/abi.md).

**How do I export an avatar as a model?** GLB, VRM and FBX, rigged, with clips. [VRM and glTF](guides/vrm.md),
[FBX](guides/export-fbx.md).

**How do I move to a new version?** Download again for your app; within 1.x nothing breaks for two minor versions.
[Versions and migration](versions.md).

**What are the limits?** The library's fixed limits and the servers' quotas are on one page. [Limits and quotas](limits.md).

## Something else

Ask for it: `POST /sona/v1/requests` with what you need ([requests](web-api.md#access)).
