Skip to main content

Reward Users with Custom Wearables

This tutorial will show you how you can submit a wearable asset to the Genies Hub and reward it to a user during gameplay.

It will cover these topics:

  • Submitting a wearable asset to Genies Hub.
  • An overview of the asset review process.
  • Gifting the published asset to a player.

Head to Genies Hub

Log into the Genies Hub. If you haven't created an app for API keys, do so - otherwise, select an existing app that you've already set up.

Genies Hub Apps

Upload an Asset

To add a wearable asset to the pool of giftable assets, in the App Assets section, select Upload an Asset, which will take you through the asset uploading process.

Wearable Details

tip

The Wearable Type is important to accurately tag, so that the item appears in the proper inventory slot!

There is a dropdown option about using the Genies Avatar Template. See the next section for how you can set up an asset to be easily processed.

Required Asset Files

In order to upload a wearable, you will need 5 files.

  1. The FBX file of the 3D model
  2. The Albedo Transparency Map
  3. The Metallic Smoothness Map
  4. The Normal Map
  5. The RGBA Mask

Upload Creation

Assets must be set up following this guide: Wearable Creation

tip

You can find test assets to use here: Test Wearables Zip Folder

Once all of these files are uploaded, you will be shown a preview of what your final asset will look like. If you are satisfied with the result, press the Submit button to begin processing.

Asset Processing

There are several stages the asset goes through as it is being processed:

  • Queued: The asset is currently in queue to be processed.
  • Processing: The asset is currently being processed in our content pipeline.
  • In Development: The asset is ready for you to submit for review.
  • Under Review: The asset is currently in our review pipeline. This may take up to 24 hours to manually review.
  • Rejected: The asset did not pass our content review. Here, you will also see a note on why your asset was rejected.
  • Published: The asset was approved and can now be given to a user. You will need to Copy Asset ID to use within Unity.

Asset States

Once your asset has been reviewed and you see the Approved status, you can press the Publish button, and your asset will be available to be gifted!

Gifting Assets

Copy the asset ID in Genies Hub using the Copy Asset ID button. You will pass this asset ID into a function call in your code.

    // Function definition for gifting an asset
public static async UniTask GiveAssetToUserAsync(string assetId)
{
await AvatarEditorSDK.GiveAssetToUserAsync(assetId);
}

// Function call in code
GeniesSdkAvatar.GiveAssetToUserAsync("00000000");

Once the asset is given to a user, they will then see it in their inventory!

Submitted Asset