Search Issue Tracker
Won't Fix
Won't Fix in 1.19.X
Votes
1
Found in [Package]
1.19.18
Issue ID
ADDR-2576
Regression
Yes
[Addressables] "Exception: Reentering the Update method is not allowed" error is thrown when adding Task function to a list
Reproduction steps:
1. Open the attached user's Unity project "bug_tasks_and_sync_addressables.zip"
2. Enter the Play mode
3. Observe the error in the Console window
Expected result: No errors are thrown in the Console window
Actual result: Error is thrown in the Console window: "Exception: Reentering the Update method is not allowed. This can happen when calling WaitForCompletion on an operation while inside of a callback."
Reproducible with: 1.18.9 (2019.4.36f1, 2020.3.30f1), 1.19.18 (2021.2.14f1, 2022.1.0b11, 2022.2.0a7)
Not reproducible with: 1.18.4 (2019.4.36f1, 2020.3.30f1)
Could not test with: 1.18.4 (2021.2.14f1, 2022.1.0b11, 2022.2.0a7 (no package available))
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
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (1.19.X):
This issue is with the use of async/await. Addressables API does not make use of c# tpl, and should not be used that way.
If needed to be used, Addressables provides a Task for use with tpl. Which can be obtained from the AsyncOperationHandles returned from the Addressables API. When using this, the issue with the continuation of the async method calling await on Addressables API works as expected.