Audio Asset

Packaging an audio asset is only useful if you want a more efficient file for a platform to load, but you'll need to package an asset for each platform.

Instead, you can upload a RAW version of the file that any platform can use.

1. Load audio into the project

Loaded Audio File in project

2. Set Asset bundle in the Audio Inspector

At the bottom of the Inspector, set the Assetbundle name. In this case, we set it to "challengeaccepted".

Set Asset Bundle Name

3. Create the Asset Bundle

On the top left, in the menu, select Rawrshak -> Asset Bundles.

This opens the Rawrshak's Asset Bundles creator (Asset Packager).

Select the desired Build Target to build an asset package for. In this case, select StandaloneWindows.

Select Build Target

Click Generate Asset Bundles button and wait for the asset bundle to be built.

If you selected Android, iOS, and WebGL, Unity may have to install the necessary modules during the asset bundle generation if these modules were not already installed earlier. This might take a while.

4. Viewing the generated Asset Bundle

View challengeaccepted bundle information

You can click the row of the asset bundle that was generated to view the asset bundle information on the right.

If you click the select checkboxes, you can add the total amount of kilobytes of data you will need to upload. You can click the "Calculator" button to open ArDrive's price calculator.

Last updated