Copyright © 2026 Unity Technologies
Fixed issue where WebRequest.Create would throw an exception when running on Android with the mono scripting backend.
Fixed issue with exception being thrown on WebRequest.Create on Android when the scripting backend is Mono.
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.
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:
Issues you vote on will appear here