Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2019.4.X, 2020.3.X, 2021.1.X

Votes

0

Found in

2019.4

2019.4.10f1

2020.3

2021.1

2021.2

Issue ID

1308317

Regression

No

A VideoPlayback is leaked if you destroy a VideoPlayer during it's in seeking

Video

-

How to reproduce:
1. Open the attached "case_1351889.zip" project and Scenes/SampleScene scene
2. Enter the Play mode and select Create leak
3. Select Window/Analysis/Profiler
4. Select Memory field and set its mode to Detailed and Take Sample Playmode
5. Expand Not Saved/Texture2D and observe the last entries of the list (there is one)
6. In the Game view, select Create leak two times (or any other amount of times)
7. In the Profiler window, select Take Sample Playmode and observe the last entries of the Not Saved/Texture2D list again

Expected result: there is one WindowsVideoMedia_DecodeTexture entry
Actual result: there are multiple WindowsVideoMedia_DecodeTexture entries

Reproducible with: 2019.4.29f1, 2020.3.14f1, 2021.1.16f1, 2021.2.0a4

  1. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0a5

  2. Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.19f1

  3. Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.18f1

  4. Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.30f1

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.