Search Unity

VideoClip Addressable Asset won't work on WebGL and Android.

Discussion in 'Addressables' started by I_Jemin, Feb 12, 2020.

  1. I_Jemin

    I_Jemin

    Joined:
    Jul 31, 2014
    Posts:
    11
    VideoClip packed by addressable won't work for both local and remote on WebGL and Android.
    VideoClip on Editor works.

    I checked sprite, audio clips, assets from scriptable object works.
    I think other types of asset except VideoClip would works too.

    Origin format of VideoClip is webm with V8.

    Enviroments and what I tested:
    - Unity 2019.3.0f6
    - Disable web security on chrome to avoid errors related to CORS policy (web)
    - VideoClip without transcoding and with transcoding for codec as Auto and V8
    - Build as local addressable build, build as remote addressable build.
    - Assigning video clip directly VideoPlayer component without using addressable package works without errors.
    - Trying uncompressed and LZ4 for compression

    any ideas??
     
    Last edited: Feb 12, 2020
  2. I_Jemin

    I_Jemin

    Joined:
    Jul 31, 2014
    Posts:
    11
    Ok. I found settings below works on Android but still not for WebGL

    - Caching.compressionEnabled = false;
    - Set addressable group's compression option as uncompressed.
     
  3. asotelo94

    asotelo94

    Joined:
    Jan 26, 2013
    Posts:
    14
    Apparently videoclips adressables are not supported on WebGL. The only way to display videoclips is by setting the videoplayer source type as URL.
    You have to place your videos on the StreamingAssets folder or host them somewhere else.