Search Issue Tracker
Fixed
Fixed in 2021.3.11f1, 2022.1.18f1
Votes
0
Found in
2021.3.8f1
2022.1.16f1
Issue ID
UUM-12561
Regression
No
[Android] "WebRequest.Create" cause an exception when Mono is used
How to reproduce:
1. Open the user's attached "WebRequestTest.zip" project
2. Open 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 results: "Success" is printed in the app on the left
Actual results: "Object reference not set to an instance of an object" error is printed on the left
Reproducible with: 2020.3.39f1, 2021.3.8f1, 2022.2.0a10
Not reproducible with: 2022.2.0a11, 2022.2.0b6, 2023.1.0a8
Reproduced on:
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
----------, Oppo Reno Z 中国版 (PCDM10), Android 11, CPU: NOT FOUND, GPU: PowerVR Rogue GM9446
VLNQA00286, Meizu Pro 5 (PRO 5), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
VLNQA00313, Huawei Y6 Ⅱ Compact (HUAWEI LYO-L01), Android 5.1, CPU: MediaTek MT6735, GPU: Mali-T720
Note:
- 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
- Element UI disappears and NullReferenceException is thrown when dragging off the last or first element from the list in the Inspector
- [Silicon] Crash on ScriptableRenderLoopJob when machine is left idle while the Editor is in Play mode
- [Android] GraphicsBuffer.CopyCount does not work with Append Compute Buffer after Compute Shader Dispatch on some Android devices
- "DirectoryNotFoundException" error when building a project via script in one folder, then building via Editor in another, deleting the folder built via Editor and rebuilding via Script
- New items are created and old ones remain in memory when using 'treeView.SetRootItems(items)' and 'treeView.Rebuild()' which can cause a memory leak
Resolution Note (fix version 2021.3.11f1):
Fixed in 2021.3.11f1
Updated the machine config file for Android Player builds to use the right dlls for WebRequests.