Documentation

Cloud Code

Cloud Code 3.1.0 experimental features

Learn about experimental features coming to Cloud Code.
Read time 1 minuteLast updated 14 days ago

Important
This page describes an experimental feature that might change significantly before release. It's not recommended to use or rely on experimental features in production environments due to potential instability.
This documentation describes features included in the experimental Cloud Code package (
com.unity.services.cloudcode
) version
3.1.0-exp.1
, and requires Unity 6.6 or later.
CloudBehaviours let you author server-authoritative game logic the same way you write a MonoBehaviour script. You write a C# class that inherits from
CloudBehaviour
, and the generator creates the deployable Cloud Code module and the client bindings for you, including RPCs, synchronized state, and push events.
Note
CloudBehaviours give you access to Stateful Cloud Code. Stateful Cloud Code's scope, persistence, and serialization rules apply to every CloudBehaviour.

Additional resources