Skip to content

New SDK Preview

This section is a preview of the new SDK. The new SDK is still in development, and we are actively working on improving it. We value your feedback, so if you have any questions or suggestions, please reach out to us. If you are not using the new SDK, please refer to another documentation section.

Balancy Configuration

Follow the guideline if you want to use your custom CDN for Balancy SDK.

Step 1: Setup CDN in Balancy Dashboard

Open Project Settings and enable using custom s3 bucket.

Project Settings

Fill in all the fields with data required to connect to the bucket. Press Save.

S3 Bucket Settings

Step 2: Configure Balancy SDK

  1. Find BalancyConfiguration.asset file in your project. By default, it is located in Assets/Balancy/Configs/Resources/BalancyConfiguration.asset.
  2. If you can't find the file, you can create it by right-clicking in the Assets folder, selecting Create -> Balancy -> Configuration. Make sure to place it in the Resources folder and has the name BalancyConfiguration.
  3. Open the file and set the Url value. You can also customize the Timeout and Retries parameters.

Important note: If the configuration file exists, the Timeout and Retries parameters will be applied in any case. However, the Url parameter will only be used if the UseCustomCDN checkbox is enabled.