How To Submit an Add-On with C# Logic

You've developed your own game (or a game template), an interactive demo-scene, or some other cool application with logic implemented purely in C# components, or maybe it's just a set of useful components C#. Suppose you've decided to share your creations with others to provide an example of how a certain game is made, let others make their own game or application by modifying yours, or simply use your components in their applications. You should pack all necessary assets to an add-on and submit it to Store. The workflow here is as simple as for an ordinary content pack add-on (no additional compilation or build procedures required) and includes two steps:

  • Preparing a package file for your add-on in the Editor.
  • Creating an add-on with your package on the Store and submitting it for approval.

Preparing a Package

First, you should put all you want to share into a package (file with the .upackage extension). So, do the following:

  1. Open your project in UNIGINE Editor.
  2. In the Asset Browser choose the root directory (data/) and create a subdirectory named DeveloperNameAddonName (DeveloperName — is your nickname on Add-On Store, and AddonName — the actual name of your add-on. No spaces here!). For example, if you're "Ford" and your add-on is "Cars", you'll have: data/FordCars/

  3. Make sure that all your C# components are compiled successfully and work as expected.
  4. Move all assets that you want to share (3D models, materials, textures, C# components, etc.) to the created directory.
  5. In the Asset Browser right-click on this directory (data/DeveloperNameAddonName/) and select Export As Package in the context menu.

  6. In the Export Package window that opens, check the Include Dependencies option and select the files to be exported (by default all files are selected).

    If you need to include additional files and folders to your package, just click Add Files From Asset Browser and choose them in the dialog that opens. Click Ok to add selected items to the package.
  7. Click Export Package, in the dialog window specify a name and destination directory for your package, and click Save.

Your add-on package (.upackage) is ready to be submitted!

Submitting the Add-On with Your Package

To publish your add-on with the package that you've just created, go to https://store.unigine.com/, click Sign In and enter your credentials.

After logging in, do the following:

  1. If you are not a publisher yet, be sure to follow this guide first to become one. Otherwise, proceed to the next step.

  2. Go to Publisher Workspace by clicking on your avatar at the top menu bar and selecting the corresponding option:

  3. In the Publisher Workspace, click + Create Add-On.

  4. Fill in the form: make sure to select suitable categories (e.g., 3D Models and Textures&Materials) and to choose the Community required license. As soon as you’ve finished, click Create Add-On.

  5. On the Add-On Draft page that opens, go to the Media tab to add the cover image and other related media.

    You have to add at least one image or video, otherwise the add-on won’t be published!

    Add a media file by clicking (+) in the corresponding section and choosing a file from your computer or specifying a link to a YouTube video.

  6. Go to the Package tab, click Add Package to add the necessary *.upackage file.

  7. In the pop-up window fill all required fields: click Select Uрackage and choose the package that you've created earlier (*.upackage file), select the appropriate SDK version and Operating System, and set Source Code to C#. Click Upload Package to add it to the add-on.

    Your add-on can have multiple *.upackage files for different Operating Systems and SDK versions.
  8. Click Publish to submit your add-on for approval (the procedure is called Moderation).

  9. Wait for moderation results. This is a mandatory verification procedure that takes some time before publication. After reviewing your add-on UNIGINE team either approves it or provides feedback for resubmission.

    If you decide to change something in the add-on sent for moderation, click Withdraw and it will return to the Draft status. After making changes, send it for moderation once again.

As your add-on is approved it is published automatically and you get an email notification. Congratulations!

What's on This Page:

Page Top