Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2018.4.X, 2019.4.X

Votes

0

Found in

2018.4

2018.4.21f1

2019.4

2020.1

2020.2

Issue ID

1238418

Regression

No

Uploading file using UploadHandlerFile generates a corrupt file when the progress property is read

WebRequest

-

Reproduction steps:
1. Open and run the attached Python3 64-bit script ("1238418Python.py")
2. Open the attached project ("1238418Rep.zip")
3. Open "SampleScene" scene
4. Enter Play mode
5. Open Python script console
6. Wait for the file to be uploaded twice (second-time file is uploaded with progress property being read)

Expected result: Uploaded file md5 hash matches the source file (Python console prints "OK")
Actual result: Uploaded file md5 hash does not match the source file (Python console prints "***KO***")

Reproducible with: 2018.4.26f1, 2019.4.8f1, 2020.1.3f1, 2020.2.0a21

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed with 2021.1.0a1, backported to 2020.2.1f1, 2019.4.18f1, 2018.4.31f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.