Documentation

​
​

Development

User Acquisition

Monetization

Industry

Unity Gaming Services CLI

v1.6

Legacy
​

GitHub Repository

Unity Gaming Services CLI

v1.6

Legacy
​

Unity Gaming Services CLI
​
​
Cloud Code
  • Overview
  • Parameter parsing for scripts
  • Commands
    • Modules
      • Delete module
      • Deploy modules
      • Export modules
      • Get module
      • Import modules
      • List modules
      • New-File
    • Scripts
  1. Overview
  2. Cloud Code

Deploy modules

Deploy one or more Cloud Code modules from compiled .ccm files.
Read time 1 minute
Last updated 3 months ago

To deploy one or more Cloud Code modules, use the Deploy command referencing one or more .ccm files.

Compressing to a .ccm file

The archive can only contain the packaged assemblies to run on x64 Linux and compiled as ReadyToRun (R2R). To produce assemblies in this format, use the .NET CLI's
dotnet publish
command.
dotnet publish -c Release -r linux-x64 -p:PublishReadyToRun=true
After producing these assemblies, compress them in an archive and set the extension to .ccm. The structure of the .ccm archive should look like this:
MyModule.ccm├─ MyModule.dll├─ MyModule.deps.json├─ Dependency1.dll├─ Dependency2.dll└─ ...
Note: The archive must be a ZIP format with its extension changed to .ccm.

Storage limits

  • The size of the .ccm file cannot exceed 10 MB.
  • A [UGS project] has a limit of 20 modules and combined size of 128 MB across all environments.

Useful links

  • Cloud Code

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
    • Compressing to a .ccm file

    • Storage limits

    • Useful links