Search Unity

Adressable system not working on webgl??

Discussion in 'Web' started by witcher101, Jan 29, 2020.

  1. witcher101

    witcher101

    Joined:
    Sep 9, 2015
    Posts:
    516
    I tried addressable sample from unity github and it doesnt seem to work on webgl. It works in editor but seems to fail to load in browser with following error.
    Code (CSharp):
    1. Decompressing this format (1) is not supported on this platform.
    2.  
    3. Error while downloading Asset Bundle: Failed to decompress data for the AssetBundle 'file:///C:/Users/user/Documents/My%20Games/Unity%20Games/adressable/StreamingAssets/aa/WebGL/WebGL/defaultlocalgroup_unitybuiltinshaders_a47bb03abc82d6a831896acf5db1d659.bundle'.
    4.  
    5. Exception encountered in operation Resource<IAssetBundleResource>(defaultlocalgroup_unitybuiltinshaders_a47bb03abc82d6a831896acf5db1d659.bundle): RemoteAssetBundleProvider unable to load from url file:///C:/Users/sandeep/Documents/My%20Games/Unity%20Games/adressable/StreamingAssets/aa/WebGL/WebGL/defaultlocalgroup_unitybuiltinshaders_a47bb03abc82d6a831896acf5db1d659.bundle, result='Received no data in response'.
    6.  
    7. Exception encountered in operation UnityEngine.ResourceManagement.ResourceManager+CompletedOperation`1[UnityEngine.GameObject], result='', status='Failed': Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=5f901b0d19bfa4e49a80be0cfb36ff22
    I am even using lz4 compression but it still fails to decompress

    Does adressable system work on webgl
    I tested this on 2019.1
     

    Attached Files:

    • snip.PNG
      snip.PNG
      File size:
      37.1 KB
      Views:
      358