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
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)
-
Tom-Mensink
Feb 22, 2021 19:33
Why is this closed, doesn't work in 2019.4.8f1 either.
-
vvmichalk
Jan 13, 2021 12:31
Just tested in 2019.4.7f1, it does not work.
Simple thing like this does not work:Test.text = "1";
await Task.Delay(1000);
Test.text += "2";
await Task.Delay(1000);
Test.text += "3";Unity only pretends it's multi-platform, it's actually multi-pain.
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
- AssetDatabase is overwriting GUIDs
- Packages cannot be added from a registry that returns invalid publish dates [Windows-only]
- [PLM] OpenRL 501 error is thrown/editor crashes when baking 4K lightmaps with 16 lightmap AA samples
- Physics.SyncColliderTransforms syncs every collider when the local position hasn't changed
- [GPU PLM] Part of baked shadows are broken when hitting a backface
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
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0b17.4177
Resolution Note (fix version 2019.4):
Fixed in - 2019.4.7f1