Skip to content

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.