Skip to main content
Version: v3

Asset Bundle Deployment

Important Attention Reminder

Coding Style wiki


Builtin Deployment

Step 1.

Important When using YooAsset for building again, simply select Clear And Copy All to output the asset bundles to StreamingAssets (i.e., built-in).


Deploy Updated Assets

Step 1.

App version configuration build.

Select OxGFrame -> AssetLoader -> Export Bundle And Config Generator from the MenuItem.

After opening, select Export App Config To Streaming Assets for the Operation Type, which will output the appconfig (used for comparing the main program version).

Step 2.

Attention Confirm the default Packages on PatchLauncher.

  • Preset App Packages.
  • Preset DLC Packages.

Step 3.

Select OxGFrame -> AssetLoader -> Export Bundle And Config Generator from the MenuItem.

After opening, select "Export Configs And App Bundles For CDN" as the Operation Type.

  1. Attention The Source Folder is the folder where YooAsset exports the build.
  2. Attention The Packages to be exported, in the image, the exported package is DefaultPackage.
  3. Finally, click Process to export.

Additionally, you can choose to export the folder based on the full version number, which helps avoid overwriting when uploading to the CDN.

Step 4.

Upload the exported CDN folder directly to the cloud service to complete the resource deployment.

Step 5.

Configuration instructions for updating assets requests.

Select OxGFrame -> AssetLoader -> Bundle Url Config Generator (burlconfig.conf) from the MenuItem.

The supported types are as follows (the type will be automatically detected regardless of the output type):

  • Cipher Process (Encrypted type) -> Reminder It is recommended to use this for Release deployments.
  • Plaintext Process (Plaintext type).

After opening, configure the following related request information:

  • CDN Server (Domain name or IP).
  • App store link (skip if not applicable).

Cipher:

Plaintext:


Additional Explanation

Important If you select the following mode:

  • Offline Mode
  • WebGL Mode

You only need to perform Builtin Deployment 即可。