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
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
- [tvOS] Project crashes on startup on Apple TV simulator (both X86_64 and ARM64 architectures)
Resolution Note (fix version 1.19.17):
Fixed issue where calling Addressables.CleanBundleCache freezes the WebGL player.