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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.