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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note (fix version 1.19.17):
Fixed issue where calling Addressables.CleanBundleCache freezes the WebGL player.