Search Unity

set LoadPrefix at runtime

Discussion in 'Addressables' started by waterbearpaul, Jul 30, 2018.

  1. waterbearpaul

    waterbearpaul

    Joined:
    May 23, 2017
    Posts:
    5
    Hello,

    The question is in the title : Is it possible to set the LoadPrefix at runtime.
    I am debugging in an environment where I can't set static IP or DNS and it would be convenient for me to modify the URL of the Addressables at runtime in the App in some secret menu so that I don't need to recompile each time.

    Thanks,

    Paul
     
  2. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    You can't do this yet, but it is on our list to add in the relatively near term. Not only for testing scenarios such as yours, but I believe some hosting services actually require dynamic download URLs.

    -Bill
     
    waterbearpaul likes this.