Search Issue Tracker
Fixed
Fixed in 1.19.17
Votes
0
Found in [Package]
1.19.11
Issue ID
ADDR-2377
Regression
No
[WebGL] Script halts when awaiting for Addressables.CleanBundleCache() to finish
How to reproduce:
1. Open the attached project "addressablesRepro"
2. Open the Scene "SampleScene" (Assets/Scenes/SampleScene.unity)
3. Set up and launch a local server at addressablesRepro/ServerData/WebGL
4. In the Unity Editor, open the Addressables Groups window (Window > Asset Management > Addressables > Groups)
5. Click Build > New Build > Default Build Script
6. Open the Build Settings (File > Build Settings...)
7. Under "Platform", select "WebGL" and click "Switch Platform"
8. Build and Run the project (File > Build And Run)
9. In the opened Internet Browser, open and inspect the Console
Expected result: The error " 'Addressables.CleanBundleCache().Task' Completed " is shown in the Console
Actual result: The error " Starting 'Addressables.CleanBundleCache().Task' " is shown in the Console
Reproducible with: 1.19.11 (2019.4.32f1, 2020.3.23f1, 2021.1.28f1, 2021.2.3f1, 2022.1.0a15)
Could not test with: 1.18.19 (2019.4.32f1, 2020.3.23f1, 2021.1.28f1) (Error in console: Assets/CleanCache.cs(17,28): error CS0117: 'Addressables' does not contain a definition for 'CleanBundleCache')
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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (fix version 1.19.17):
Fixed issue where calling Addressables.CleanBundleCache freezes the WebGL player.