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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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.