Search Unity

no remoteServerURL was specified - WebGL - Where to set?

Discussion in 'Addressables' started by wirelessdreamer, Feb 11, 2019.

  1. wirelessdreamer

    wirelessdreamer

    Joined:
    Apr 13, 2016
    Posts:
    134
    @unity_bill

    I've been working with an addressables project targeting WebGL for the past week. We can run locally in packed mode without issue. Once we deploy and load in browser we see: LocalAssetBundleServer was off and no remoteServerURL was specified. One of these must be set in order to use any AssetBundles!

    I'm guessing that we see this because our default profile is pointing to localhost, and we have a separate profile with our RemoteLoadPath set. If that's the case how do we set the remote profile for builds, and if that isn't it, any ideas?

    Side note, changing the default profile to point at remote still gives the same error.
     
    Last edited: Feb 11, 2019
    oteleha and skwsk8 like this.
  2. skwsk8

    skwsk8

    Joined:
    Jul 6, 2014
    Posts:
    35
    oteleha likes this.
  3. oteleha

    oteleha

    Joined:
    Feb 16, 2016
    Posts:
    1
    Having the same issue!
     
    skwsk8 likes this.
  4. wirelessdreamer

    wirelessdreamer

    Joined:
    Apr 13, 2016
    Posts:
    134
    @unity_bill any pointers on how to get remote end points working with addressables?
     
    oteleha and skwsk8 like this.
  5. wirelessdreamer

    wirelessdreamer

    Joined:
    Apr 13, 2016
    Posts:
    134
    I see the same issue when trying to do standalone win64 builds as well.
     
    oteleha and skwsk8 like this.
  6. wirelessdreamer

    wirelessdreamer

    Joined:
    Apr 13, 2016
    Posts:
    134
    We see this locally when testing as well:
    Switched to Simulation Mode because LocalAssetBundleServer was off and no remoteServerURL was specified in the Scenes' DynamicAssetLoader. One of these must be set in order to actually use your AssetBundles.
     
  7. wirelessdreamer

    wirelessdreamer

    Joined:
    Apr 13, 2016
    Posts:
    134
    @karl_jones any ideas on how to set remoteServerURL for addressables?
     
    skwsk8 likes this.
  8. wirelessdreamer

    wirelessdreamer

    Joined:
    Apr 13, 2016
    Posts:
    134
    It turns out this error came from the UMA character's we were using, and not having an endpoint set for them to get asset data from, but seeing how they're not yet updated to use addressables that was the cause of the problem.