Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2019.4.X, 2020.1.X, 2020.2.X

Votes

28

Found in

2019.1.0a12

2019.2.0a1

2019.3.0a1

2019.3.0a6

Issue ID

1165055

Regression

Yes

WebGL build throws "Threads are not enabled for this platform" error when program's built using Debug C++ Compiler Configuration

IL2CPP

-

How to reproduce:
1. Open the attached project("WebGL_Test")
2. Build and run

Expected result: the program runs without errors
Actual result: "Threads are not enabled for this platform." error is thrown

Reproducible with: 2019.1.0a12, 2019.1.8f1, 2019.2.0b8, 2019.3.0a8
Not reproducible with: 2018.4.3f1

Note:
- C++ Compiler Configuration is not available before 2018.3.4f1 and 2019.1.0a12

  1. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0a2

  2. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0b12

  3. Resolution Note (fix version 2020.1):

    Fixed in: 2020.1.14f1

  4. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.15f1

Comments (1)

  1. r3dux

    Oct 21, 2021 10:03

    Still present in 2020.3.18f for WebGL builds when the C++ Compiler Mode is "Debug".

    Changing the C++ Compiler Mode to Release solves the issue.

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.