Example — Integrating the VIVERSE Avatar SDK with Wonderland Cloud networking
Live demo: https://worlds.viverse.com/k99xkYZ
This repository is a template project that demonstrates how to integrate the VIVERSE Avatar SDK with Wonderland Cloud networking. It shows a compact, production-minded workflow to:
- Spawn and persist user data (name, avatar) via the VIVERSE Avatar SDK.
- Relay avatar + presence state to Wonderland Cloud for performant, medium-scale multiplayer sessions.
- Use spatial audio for immersive multiplayer experiences.
Designed for quick iteration and easy publishing through the VIVERSE / Wonderland tooling.
- VIVERSE Avatar SDK integration (login, avatar spawn, user metadata).
- Wonderland Cloud networking client + server template.
- Simple VIVERSE CLI plugin integration for publishing and previewing.
- Example components showing where to place
appidand server path. - Spatial audio + avatar position replication for medium-scale sessions.
- Open the
viversePublishPlugininside the Wonderland Editor. - Log in with your VIVERSE credentials.
- Click Create Application — this redirects to VIVERSE Studio.
- In VIVERSE Studio create an app and copy the App ID.
- Paste the App ID into the
appidfield of the plugin.
- In the hierarchy open:
Avatar -> VrmDynamic - Expand Viverse Provider component (or
viverse-provider-component) in the Inspector. - Paste the App ID there as well.
- Go to :
https://cloud.wonderland.dev/create-server - Upload the packaged server:
server/wonderland-cloud-example-simple-1.0.0.tgz - Create the server and copy the server path that Wonderland Cloud returns.
- In the hierarchy, select
Playerand find thesimple-example-clientcomponent. - Paste the server path into the
simple-example-client→serverPath(or equivalent) field.
- Use the VIVERSE CLI plugin inside the editor to publish the project.
- From the plugin you can click Preview URL to open a preview build.
- Use Submit for Review in the plugin to open the VIVERSE Creator page for your application.
- Use the Guest Preview link from VIVERSE Creator to invite others (multiple devices/accounts) and test multiplayer in production-like conditions.
- When ready, submit the app for review to list it publicly.
- If avatars don’t appear: verify the App ID is set in both the plugin and the
VrmDynamic -> Viverse Providercomponent. - If networking fails: re-check that the uploaded package matches the server entry on
cloud.wonderland.devand confirm the server path is pasted correctly in thesimple-example-clientcomponent. - Use the plugin Preview URL to test cross-device connectivity before submitting for review.
- Check browser console logs (F12) for helpful client-side errors (auth / CORS / network).
Pull requests welcome — keep changes small and documented. Open an issue for feature requests or bugs.
If you want help setting up this template for your project, reach out via Discord.