starting using addressables to load scenes and dependecies from remote bundle. i configurate everything but it worked with virtual and play mode but when i changed to Remote it stop working.
error that has been showed using Packed Mode.
Addressables - initialization failed.
UnityEngine.AsyncOperation:InvokeCompletionEvent()
to help here its some content to how i setup everything.
Here it is my iis Local Server.
now the Group config that i create to be on the remote server.
now the addressable panel showing that in preview everything is a ok.
in the first scene(the one that will be in the build) has a scripting here is the inspector of the script.
Here is the addressable inspector again showing more things
and remember everything work like a charm when using virtual and play mode but using the remote it give errors and like i showed on images i have the server up and running.
Code i’m using:
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.ResourceManagement;
using UnityEngine.SceneManagement;
public class LoadAdressableScene : MonoBehaviour
{
public AssetReference AssetToLoad;
// Use this for initialization
void Start()
{
//AssetToLoad.LoadAsset<scene>().Completed += OnAssetReferenceLoaded;
Addressables.PreloadDependencies(AssetToLoad, null);
Addressables.LoadScene(AssetToLoad).Completed += OnCompleted;
}
private void OnCompleted(IAsyncOperation<Scene> obj)
{
Debug.Log("Scene Load Complete");
}
// Update is called once per frame
void Update () {
}
}
Using Unity 2018.2.6f1 and Addressables System 0.3.5-preview