Search Unity

Issues Loading Addressables from Private Server

Discussion in 'Scripting' started by dbarile, Jan 2, 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.

    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.

    So my two questions are:
    1. Can Addressables load MonoBehaviours?
    2. Can (or how can) Addressables be loaded from a remote server?

    Our project is at a standstill until I get this working. Thanks so much!


    @PaulBurslem
     

    Attached Files:

  2. I think this question would be better off here. More people who actually are playing around with it are there. Not to mention the team.