Search Issue Tracker
Fixed in 2022.3.48f1
Fixed in 2022.3.X, 6000.0.X, future release
Won't Fix in 2021.3.X
Votes
0
Found in
2021.3.40f1
2022.3.37f1
6000.0.10f1
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
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
- Line Brush blue outline appears at incorrect position when painting start of line in Tile Palette
- [URP] All materials render black when building via batchmode or without rendering Scene/Game view in Editor if Decal renderer Technique is set to "Automatic"
- Player Tags list shows extra blank space behind the scrollbar in the "Player Tags" settings window
- Edit Angular Limits gizmo handles are small and easy to miss-click in the Scene view
- Duplicate Player Tag save fails silently with no error or validation message
Resolution Note:
This fix was specific to the mono scripting backend which is not available in this release.
Resolution Note (fix version 6000.0):
Fixed issue where WebRequest.Create would throw an exception when running on Android with the mono scripting backend.
Resolution Note (fix version 2022.3):
Fixed issue with exception being thrown on WebRequest.Create on Android when the scripting backend is Mono.
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.