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
-
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
- Resizing Profiler Module Details panel and releasing mouse button outside Unity doesn't cancel resize
- "Auto-hide gizmos" preference is not saved when reopening the project
- Sampling a custom depth texture on a machine with a GTX 1080 makes object's textures display the wrong color when in Play mode or Player
- Terrain is missing the Hidden/TerrainEngine/Details/WavingDoublePass shader when AssetBundles are built in older Unity Versions
- [Android] URP Project crashes when built on a device with PowerVR Rogue GE8320 GPU
Resolution Note (fix version 2022.1):
Fixed in 2021.2.0a18
Resolution Note (fix version 2021.1):
Fixed in 2021.1.25f1