Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.1.X
Votes
2
Found in
2021.1.0a1
2021.1.3f1
2021.2
Issue ID
1330209
Regression
Yes
UnityWebRequest downloadHandler.data is null after downloading a texture using UnityWebRequestTexture.GetTexture()
Reproduction steps:
1. Open user's project "tests.zip"
2. Open "Test" Scene
3. Enter Play Mode
Expected result: UnityWebRequest.downloadHandler.data is not null and console message: "IMAGE SUCCESSFULY SAVED IN TEMP DIRECTORY" gets printed out
Actual result: UnityWebRequest.downloadHandler.data is null and console message: "NO DATA IN DOWNLOAD HANDLER" gets printed out
Reproducible with: 2021.1.0a1, 2021.1.6f1, 2021.2.0a16
Not reproducible with: 2018.4.34f1, 2019.4.25f1, 2020.3.7f1
Notes:
- The texture itself gets downloaded and is displayed correctly in both reproducible and not reproducible versions
- It's also reproducible in the same versions with UnityWebRequestMultimedia.GetAudioClip(), the audio still gets downloaded and gets played, open attached project "1330209Audio.zip" and repeat the same steps
Comments (3)
-
GilJoWal
Mar 26, 2022 17:25
Experiencing the same issue in 2021.2.17f1
-
josefgrunig
Sep 29, 2021 10:45
Issue still present on 2021.1.22f1
When is backport to 2021.1.x expected? -
BBO_Lagoon
Jul 27, 2021 11:58
Could you backport it on 2021.1.x versions ?
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
- UnityLinker causes crash when outputting snapshot data for very large projects
- Camera Preview does not detect multiple cameras with same GameObject name
- Crash on TypeTreeIterator::Children() when renaming a corrupted asset while Asset Serialization is set to Mixed
- Cameras (Camera.targetDisplay) render only to Display 0 in the Player when Multi-Display setup is used and DX12 API is set
- [Vulkan] _CameraOpaqueTexture produces a feedback effect on Android Adreno devices when using Vulkan
Resolution Note (fix version 2022.1):
Fixed in 2021.2.0a18
Resolution Note (fix version 2021.1):
Fixed in 2021.1.25f1