Hero background image
PRODUCT

Cloud Code

Run your game logic in the cloud as serverless functions and interact with other backend services.
The 2023 Unity Gaming Report is here. Get data to make informed decisions about your game.
Get the report
Watch now

Make changes to your code in real-time

Change game logic whenever you want without releasing a new version of your game with easy-to-use serverless functions. Write and run your game logic away from the client.

Streamline game code in the cloud

Streamline your game code in the cloud

Cloud Code shifts your game logic away from your clients, interacting seamlessly with backend services. Create custom API endpoints, and soon: make scheduled background jobs and game event handlers.

Key benefits

Be secure

Abstract logic and keep the inner workings of your game secure.

Create links

Link together multiple solutions with custom logic.

Stay flexible

Make changes to game logic whenever you need, and leverage the ability to scale up.

Pay as you go

Only pay for what you use.

Resources to hit the ground running

backend solutions
A closer look at Game Backend

Focus on the business logic of your game, and take advantage of our expertise to manage backend infrastructure.

backend use cases
Nine use cases for Unity Game Backend

Building a backend to support your game systems isn’t easy, and you may not be able to build, host, and scale your own servers. Find out what our tools can do for you.

battlepass blog
Try out our battle pass sample

The Unity Gaming Services Use Cases are a collection of samples that show you how to solve common development challenges. Read our article on our latest sample: the battle pass.

ugs guide
Build your game with Unity Gaming Services

Looking for an alternative to GameSparks? Unity Gaming Services has the battle-tested solutions you need to build, manage, and grow your game.

Learn More

Documentation
Documentation

Review the manual to help get Cloud Code up and running for your game.

Game Backend Solutions
Build your foundation

Explore our newest solutions for Game Backend, including Cloud Save, Economy, and Authentication.

Analytics 2.0 and Player Engagement Solutions
Engage your players

Perfect the player experience with targeted engagement using our latest Analytics and Player Engagement solutions.

Unity gen art 2021
Build more, pay less

Everything you need to launch, manage, and operate your game – at a fair price. Our products are designed to work for AAA studios, indie developers, and everyone in between.