Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.2.X, 6000.3.X, 6000.4.X
Votes
1
Found in
6000.0.23f1
6000.1.0a7
6000.2.0a1
6000.3.0a1
6000.4.0a1
Issue ID
UUM-84210
Regression
No
"Awaitable.BackgroundThreadAsync()" method prevents exiting a function scope when the function scope produces too few jobs
How to reproduce:
1. Open the “AwaitableBug.zip“ project
2. Open the “SampleScene“
3. Enter Play Mode
4. Observe the Console
Expected results: 8 messages are logged
Actual results: 3 messages are logged (Gets stuck in the function scope of the “Awaitable Begin()“ method)
Reproducible in: 6000.0.23f1
Could not reproduce in: 2021.3.45f1, 2022.3.50f1 (no Awaitable Class)
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Workaround:
- Create some “Debug.Log()” methods after “Awaitable.BackgroundThreadAsync()“ call (3 should suffice)
Notes:
- Adding more “Debug.Log()“ methods will lessen the chance of reproduction
- I estimate that the “Awaitable.BackgroundThreadAsync()“ keeps waiting until the background ThreadPool receives at least one job
- The more jobs exist, the less likely it is for the issue to occur
- The issue does not reproduce on a build (although it is likely possible, with few enough jobs)
- The issue does not reproduce 100% of the time
- Reproduction can be tried again by exiting the Play Mode and repeating steps 3 and 4
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Incorrect rotations on bones when importing FBX animations with a Humanoid Rig
- Render Graph Viewer “Pass List” section is flickering when resizing vertically and the Render Graph Viewer window is docked
- Render Graph Viewer Capture button plays the click animation but does not do anything when the Capture button is pressed with the “Enter” key on the keyboard
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
- Celestial bodies order remains unchanged when the Distance setting is modified
Add comment