Documentation

​
​

Development

User Acquisition

Monetization

Industry

Cloud Code

Scripting API

Services C# SDKs

Services JavaScript SDKs

Admin REST API

Client REST API

Scheduler Admin REST API

Observability REST API

Open Unity Dashboard

Cloud Code

LiveOps
​
​
Cloud Code
  • Overview
  • Get started
  • Server authority
  • Cloud Code C# modules
    • Overview
    • Get started
    • Concepts
      • Authentication
      • Module structure
      • Token support
      • Error handling
      • Module reference files
    • Tutorials
    • Reference
  • Cloud Code JavaScript scripts
  • Logging
  • Use-case samples
  • Privacy and consent
  1. Cloud Code

Cloud Code C# module reference files

Manage Cloud Code C# modules from the Unity Editor with module reference files.
Read time 1 minute
Last updated 4 months ago

Use Cloud Code C# module reference files to manage your modules from the Unity Editor. These files reference your C# solution used for your Cloud Code C# modules. You can deploy these reference files to the Unity Dashboard using the Deployment package.

Prerequisites

To use Cloud Code C#, you must install the Deployment package (
com.unity.services.deployment
).

Create Cloud Code C# module reference files

To create a Cloud Code C# module reference file:
  1. In the Unity Editor, right-click the Project window and select Create > Services > Cloud Code C# Module Reference.

File format

Cloud Code C# module reference files must respect the JSON format.

Example

{ "modulePath": "../new_module_reference/new_module_reference.sln"}
For more options on authoring and how to generate your solutions, refer to Write Cloud Code C# modules in Editor.

Deploy files

When you have created your Cloud Code C# module reference files, you can deploy them to your chosen environment.
To deploy a file:
  1. In the Unity Editor, select Services > Deployment. For Unity Versions earlier than 2022, select Window > Deployment. The Deployment window displays your local Cloud Code C# module reference files.
  2. Select your chosen Cloud Code C# module reference files and select Deploy Selected.
For more information on working with the Deployment window, refer to Deployment package.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Prerequisites

    • Create Cloud Code C# module reference files

    • File format

      • Example

    • Deploy files


Report a problem with this page