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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 2022.1):
Fixed in 2021.2.0a18
Resolution Note (fix version 2021.1):
Fixed in 2021.1.25f1