Search Issue Tracker
Fixed in 2019.3.X
Votes
0
Found in
2019.3.0a9
2019.3.0f1
Issue ID
1202317
Regression
Yes
IJobParallelFor job only runs on Main Thread when Thread.Sleep() is called in FixedUpdate
How to reproduce:
1. Open the attached project
2. Window > Analysis > Profiler
3. Open the "MainScene" scene
4. Select CPU tab and Timeline view in the Profiler
5. Enter Play Mode
6. Check Main Thread and Job tabs in the Profiler
Actual result: The Audience:UpdateJob gets executed in Main Thread and the job threads are Idle.
Expected result: The job gets executed in both threads.
Reproducible with: 2019.3.0a9, 2019.3.0f3, 2020.1.0a16.
Regression introduced in: 2019.3.0a9.
Not reproducible with: 2019.3.0a8, 2019.2.16f1, 2018.4.14f1.
Notes:
- The issue reproduces when calling System.Threading.Thread.Sleep() in FixedUpdate.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Device Simulator] The non-zero touch states do not reset and are set to the "Began" state with "InProgress" being true when releasing the left-click
- Debug.DrawLine depthTest parameter starts flickering during OnSceneGUI() when SceneView.RepaintAll() is used
- [RenderGraphViewer]No help button that could lead to the documentation page
- Building "ManagedStripping" fails when a script uses a custom package
- [Quest] Visual artifacts are present when rendering Spot lights with Forward+ Rendering Path in XR
Add comment