Skip to content

Addressables are not working on WebGL on new Unity versionsΒ #80

@Wasp3r

Description

@Wasp3r

Hi,

as said in the title, addressables are not working on WebGL. Tested on 2 examples from this repository: Scene Loading and Sprite Land. They work on their original version (2019.4.9f1) and on 2020.3.33f. When I bump the version to 2022.1.23f1 I'm getting the errors listed below:

Asset Bundle download is complete, but no data have been received

RemoteProviderException : Unable to load asset bundle from : [http://localhost:8000/StreamingAsse...s_all_f4ba373f651003dcc29897ae4302b413.bundle](http://localhost:8000/StreamingAssets/aa/WebGL/defaultlocalgroup_assets_all_f4ba373f651003dcc29897ae4302b413.bundle) UnityWebRequest result : ConnectionError : Received no data in response ResponseCode : 200, Method : GET url : [http://localhost:8000/StreamingAsse...s_all_f4ba373f651003dcc29897ae4302b413.bundle](http://localhost:8000/StreamingAssets/aa/WebGL/defaultlocalgroup_assets_all_f4ba373f651003dcc29897ae4302b413.bundle)

I've checked on versions:

  • 2022.1.23f1
  • 2022.2.0b15
  • 2023.1.0a19

Reproduction steps:

  1. Get example code from this repository
  2. Open Scene Loading or Sprite Land
  3. Bump the unity version to one of the listed above
  4. Fix any errors that occurred because of version change
  5. See the errors
  6. Lower the version to 2020.3.33f
  7. See no errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions