Search Issue Tracker

Fixed in 2020.2

Fixed in 2019.4, 2020.1

Votes

0

Found in

2019.3

2019.3.9f1

2020.1

2020.2

Issue ID

1243010

Regression

No

[WebGL] Async Tasks do not run on WebGL when Threading is enabled

WebGL

-

Reproduction steps:
1. Open the attached project ("case_1243010-WebG-Threads.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
4. Notice the logs about async tasks being printed out to the screen
5. Exit Play Mode and make a WebGL build
6. Run the build and inspect the printed messages on the screen

Expected result: Async task messages are printed to the screen
Actual result: Only 'Start' and 'End' messages are printed to the screen (async tasks doesn't run)

Reproducible with: 2019.3.14f1, 2020.1.0b9, 2020.2.0a11
Couldn't test with 2018.4 (errors when building the project)

Tested with: Chrome (81.0.4044.138)

  1. Response avatar

    Resolution Note (fix version 2020.2):

    IL2CPP wasn't generating the correct threaded code when threadingSupport flag was set in the project settings. Fixed in 2020.2.0a16

  2. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0b17.4177

  3. Response avatar

    Resolution Note (fix version 2019.4):

    Fixed in - 2019.4.7f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.