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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
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.