Skip to content

(Experimental) One‐click Build Addressables and run bundle tool

DogeThis edited this page Jan 16, 2024 · 5 revisions

This is for those of you familiar with the Build Addressables then bundle_tools fix loop when working on custom bundles.

This package will replace the flow where we

  • Build the addressables
  • Switch to cmd to run bundle_tools fix
  • Select the settings.json file

Instead, you will only need to click one "build" button.

How to use

  1. Download the package here.
  2. Install it into your Unity project.
  3. You should see a new menu called Divine Dragon. Open the Divine Dragon Window
image
  1. You should see this
image
  1. Either by inputting the text directly, or using the Browse for output path button, set the output path for where you want your bundles to go. This is equivalent to the path you pass into bundle fix when calling it manually. You can use Open output path to confirm you have inputted it correctly.
  2. Click the Build Addressables and Patch Bundles button.
  3. After that finishes, check the Unity console. If you don't see any errors, hopefully everything worked!
Clone this wiki locally