Search Unity

Issues Loading Addressables from Private Server

Discussion in 'Addressables' started by dbarile, Jan 3, 2019.

  1. dbarile

    dbarile

    Joined:
    Apr 14, 2015
    Posts:
    14
    I am trying to load Addressables from my remote server, and am having issues.

    I created a custom build profile in AddressableAssetSettings and successfully made the
    RemoteBuildPath (which I then uploaded to my server via FTP client).

    However, the RemoteLoadPath I created: http://um-macaroni/com/Addressables/[BuildTarget] isn't working.

    When I build the app to my Android phone, my debug code indicates what looks like a .jar file on the device (see screenshot).

    Code (CSharp):
    1. this.outputText.text = "STATUS:\n" + this.asyncOperation.Status.ToString() + "\n\nBuidPath: \n" + Addressables.BuildPath + "\n\nRuntimePath: \n" + Addressables.RuntimePath;
    All the examples I have seen have used the Unity Hosting Service (supposedly for convenience and because it's free), but it makes me wonder if it is possible to use a typical web server to host Addressables.

    Our project is at a standstill until I get this working. Appreciate your help so much!

    @unity_bill
     

    Attached Files:

    aurelien-morel-ubiant likes this.
  2. FlorentFal

    FlorentFal

    Joined:
    Nov 20, 2015
    Posts:
    55