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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 1.19.17):
Fixed issue where calling Addressables.CleanBundleCache freezes the WebGL player.