Hello all,
I have several profiles created (Develop, Staging, Production), each of them pointing to different URL’s to where they should download remote assets from during runtime.
During my build, I want to be able to set the profile programatically, so that I won’t have to manually switch my profile before our CI/CD system makes a build of the game.
You can do something like
settings.profileSettings.GetAllProfileNames() to get the list of names if you need it, and you can set the current one with something like ```
AddressableAssetSettingsDefaultObject.Settings.activeProfileId = AddressableAssetSettingsDefaultObject.Settings.profileSettings.GetProfileId(“production”);
1 Like
Awesome, thanks @unity_bill !!
1 Like