Search Issue Tracker

Fixed

Fixed in 2022.3.48f1, 6000.0.20f1

Won't Fix in 2021.3.X

Votes

0

Found in

2021.3.40f1

2022.3.37f1

6000.0.10f1

7000.0.0a1

Issue ID

UUM-75503

Regression

No

[Android] "WebRequest.Create" causes an exception when Mono is used

--

-

Reproduction steps:
1. Open the user's attached "WebRequestTest.zip" project
2. Go to Player settings (File > Project Settings... > Player)
3. In the "Other" section make sure "Scripting Backend" is set to "Mono"
4. Build And Run the "Main" Scene
5. In the app, press the button on the right

Expected result: "Success" is printed in the app on the left
Actual result: "Object reference not set to an instance of an object" error is printed on the left

Reproducible with: 2021.3.40f1, 2022.3.37f1, 6000.0.10f1

Reproducible with these devices:
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
VLNQA00518 - Google Pixel 4 (Pixel 4), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 13
VLNQA00414 - Galaxy Note10+ 5G (SM-N976V), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 9
VLNQA00591 - Samsung Galaxy S23 (SM-S911B), CPU: Snapdragon 8 Gen 2 (SM8550), GPU: Adreno 740, OS: 14
VLNQA00278 - Xiaomi Redmi Note 7 (Redmi Note 7), CPU: Snapdragon 660, GPU: Adreno 512, OS: 9.0.0
VLNQA00139 - Vivo Xplay6 (vivo Xplay6), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 7.1.1

Notes:

* Not reproducible on Windows when using Mono
* The issue is not reproducible when IL2CPP is used for the Android build

  1. Resolution Note:

    This fix was specific to the mono scripting backend which is not available in this release.

  2. Resolution Note (fix version 6000.0.20f1):

    Fixed issue where WebRequest.Create would throw an exception when running on Android with the mono scripting backend.

  3. Resolution Note (fix version 2022.3.48f1):

    Fixed issue with exception being thrown on WebRequest.Create on Android when the scripting backend is Mono.

  4. Resolution Note (2021.3.X):

    After review the fix for this bug has been deemed too risky to backport to a mature release like 2021.3. Use of IL2CPP scripting backend is recommended on Android.

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.