Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2019.4.X, 2020.3.X, 2021.1.X

Votes

1

Found in

2019.4

2019.4.23f1

2020.2.0a13

2021.1

2021.2

Issue ID

1337750

Regression

Yes

ForcedScopedThreadAttach error is thrown when sending a UnityWebRequest with a custom CertificateHandler

WebRequest

-

Reproduction steps:
1. Open the user's attached project
2. Open scene "SampleScene"
3. Enter Play Mode
4. Click the "Send UnityWebRequest" button

Expected result: No errors are thrown
Actual result: ForcedScopedThreadAttach error is thrown

Reproducible with: 2019.4.14f1, 2019.4.27f1, 2020.2.0a13, 2020.3.11f1, 2021.1.9f1, 2021.2.0a18
Not reproducible with: 2018.4.35f1, 2019.4.13f1, 2020.2.0a1, 2020.2.0a12

Error:
ForcedScopedThreadAttach can only be used from threads that are not already attached.

  1. Resolution Note (fix version 2022.1):

    Fixed in 2021.2.0b1

  2. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.15f1

  3. Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.16f1

  4. Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.30f1

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.