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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.