Search Issue Tracker

By Design

Votes

0

Found in [Package]

1.18.11

Issue ID

1351177

Regression

No

[WebGL][Android] Addressables.LoadAssetsAsync with WaitForCompletion never completes when called in WebGL Player

Package: Addressables

-

How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Enter the Play Mode
3. Press the "Test" button
4. Inspect the behavior
5. Make a WebGL build
6. Host the WebGL build
7. Open the built WebGL Player in a browser

Expected result: Either loading the Asset completes or an error is thrown
Actual result: Loading Asset never completes and there are no additional messages logged

Reproducible with: 1.18.11 (2019.4.29f1, 2020.3.14f1, 2021.1.15f1, 2021.2.0b4, 2022.1.0a2)

Reproducible with:
VLNQA00277, Asus ROG Phone, Android: 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00006, Samsung Galaxy S7, Android: 8.0.0, CPU: Exynos 8 Octa 8890, GPU: Mali-T880
VLNQA00121, Samsung Galaxy S9, Android: 9, CPU: Exynos 9 Series 9810, GPU: Mali-G72

  1. Resolution Note:

    The synchronous Addressables API is not working on the WebGL platform by design due to the lack of threading support.
    Please use the asynchronous Addressables API instead: https://docs.unity.cn/Packages/com.unity.addressables@1.17/manual/AddressableAssetsAsyncOperationHandle.html.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.