Search Issue Tracker
Won't Fix
Won't Fix in 2020.3.X
Votes
0
Found in
2020.3.46f1
Issue ID
UUM-31751
Regression
No
[Addressables] OperationException errors appear when using Synchronous loading of remote AssetBundles and RetryCount
How to reproduce:
1. Download and open the attached project
2. Build Addressables by going to "Addressable Groups" > "Build" > "New Build" > "Default Build Script"
3. Open the "SampleScene" scene
4. Enter "Play" mode
5. Observe the Console window
Expected outcome: No errors appear
Actual outcome: "OperationException : Unknown error in AsyncOperation : Resource<IAssetBundleResource>" errors appear
Reproduced with: 2020.3.46f1, 2021.3.21f1, 2022.2.11f1, 2023.1.0b8, 2023.2.0a6
1. I implemented a http server to simulate the bad network condition. In this situation, synchronous loading of remote AssetBundles throws exceptions when first download failed and doesn't try to download again even RetryCount is greater than 0.
2. 1) Select 'Use Existing Build' in Addressables Groups window
2) Build Addressables
3) Open 'SampleScene.unity' and enter Play Mode
4) Observe the Console window
Expected result: There is no error in the Console window and the prefab is loaded
Actual result: There are erros in the Console window and the prefab is not loaded
5) Select 'AddressableAssetSettings.asset' and set 'Max Concurrent Web Request' to 2
6) Repeat step 2-4, note this time there is no error in the Console window and the prefab is loaded
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
Loading remote content using WaitForCompletion isn't an advised workflow. Please ensure that AssetBundles are downloaded before attempting to use WaitForCompletion on an operation involving a remote AssetBundle.
Resolution Note (2020.3.X):
Loading remote content using WaitForCompletion isn't an advised workflow. Please ensure that AssetBundles are downloaded before attempting to use WaitForCompletion on an operation involving a remote AssetBundle.