Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question WebGL Addressables ConnectionError

Discussion in 'Addressables' started by denmla1001, Apr 28, 2023.

  1. denmla1001

    denmla1001

    Joined:
    Nov 29, 2021
    Posts:
    13
    Hi guys
    I have a project that has Addressable System. I have files on S3 and that works fine on Windows builds but when built for WebGL and hosted on Netlify it hits an error:
    RemoteProviderException : Unable to load asset bundle from : https://********.amazonaws.com/WebG...s_all_974a05d4b2c514365972c20ce4732b13.bundle
    UnityWebRequest result : ConnectionError : Unknown Error

    Unity 2021, Addresables 1.19, Uncompressed build

    Anyone got any clue?
     
  2. denmla1001

    denmla1001

    Joined:
    Nov 29, 2021
    Posts:
    13
    SOLVED:
    Adding CORS JSON settings to S3 bucket configuration solved it. There is an example for this on S3 configuration menu