Appendix A - Addressable Setup
Addressable Configuration
- Create a new group(Packed Assets) with the Game ID provided by Joyride. Make this new group the default group
- Add all the assets and related scenes to this group. Do not add scripts to this group. Prepend
JRGame
to each of the added assets and scenes - Create a label (eg: ‘superstackassets’) and attach to each asset
- Remove Default Local Group if it is present in Addressable Groups as it may cause issues
- To build the local/remote downloadable addressable bundle, you can use the options from the Tools/MyTool menu
- You will find the build files in
ServerData/Android/
orServerData/iOS
folder based on platform - Replace all scene load commands with Addressables.LoadSceneAsync with ‘addressable name of Scene in above image’ as an argument
Example
Addressables.LoadSceneAsync("Joyride.Superstack/Assets/Scenes/Game.unity");
- Run the game successfully