Hello,
I am using Unity Addressables v1.21.18 and have organized my assets into multiple groups, uploading them to an S3 bucket. I have three environments: dev, stage, and prod, each with its own configured bucket. In my game, I have a switcher that changes environments, and I need Addressables to dynamically load from the correct bucket based on the selected environment.
I attempted to manually initialize Addressables, but according to the documentation, Addressables automatically initialize themselves. For the remoteLoadPath, I’ve set it up like this: **{Assets.Scripts.AddressablesManager.AssetsURL}/[BuildTarget]**
, where **AssetsURL**
is a static variable that updates when switching environments.
Could someone help me figure out how to achieve this dynamic loading?
Thanks in advance!