Search Issue Tracker
By Design
Votes
0
Found in
2022.3.54f1
6000.0.31f1
6000.1.0a8
Issue ID
UUM-90816
Regression
No
[Android] [iOS] The first use of the "UnityWebRequestAssetBundle" shows "UnityWebRequest.Result.Success" when the AssetBundle is built for a different platform
How to reproduce:
1. Open the “ReproProjectFileBundle.zip” project
2. Open the “SampleScene”
3. Build and Run for Android
4. Observe the two texts shown in the applications
Expected result: Both TextFields display “[TEST_ASSET_BUNDLE_REQUEST_ISSUE] Result before accessing downloadHandler.assetBundle DataProcessingError“
Actual result: Top most TextField displays “[TEST_ASSET_BUNDLE_REQUEST_ISSUE] Result before accessing downloadHandler.assetBundle Success”, the second one displays “[TEST_ASSET_BUNDLE_REQUEST_ISSUE] Result after accessing downloadHandler.assetBundle DataProcessingError“
Reproducible with: 2022.3.54f1, 6000.0.31f1, 6000.1.0a8
Could not test with: 2021.3.47f1 (JDK issue I couldn’t resolve)
Reproducible environment: macOS 15.1.1 (Intel), Windows 11 (Reporters)
Not reproducible environment: No other environment tested
Reproducible with these devices:
VLNQA00511, Samsung Galaxy S8 (SM-G950F), Android 9, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
VLNQA00518, Google Pixel 4 (Pixel 4), Android 13, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00107, Huawei Nexus 6P (Nexus 6P), Android 8.1.0, CPU: Snapdragon 810 MSM8994, GPU: Adreno (TM) 430
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
VLNQA00416, iPhone 13 Pro (MLVA3ET/A), CPU: Apple A15 Bionic, GPU: Apple designed, OS: 16.1.1
Note: Cannot test Editor and Standalone are the AssetBundle is built for them and the “UnityWebRequest.result“ will show success, but there is a big chance that it will reproduce
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
Issue is not present if autoLoadAssetBundle is set to true on download handler:
https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Networking.DownloadHandlerAssetBundle-autoLoadAssetBundle.html
Default is false, so asset bundle is only loaded uppon access, hence UnityWebRequest can only report the status of the download part, which has been successful.