Search Issue Tracker

Duplicate

Votes

1

Found in

2019.3.0a9

2019.4.10f1

2020.1

2020.2

2021.1

Issue ID

1292108

Regression

Yes

Crash on WindowsVideoMedia::CopyToRGBA when importing a black and white MP4 file

Video

-

How to reproduce:
1. Create a new project
2. Import (Assets -> Import New Asset) the attached MP4 file ('RPReplay_Final1577253701.MP4')

Reproducible with: 2019.3.0a9, 2019.4.15f1, 2020.1.12f1, 2020.2.0b11, 2021.1.0a5
Not reproducible with: 2018.4.29f1, 2019.3.0a8

First lines of the stacktrace:
0x00007FF79AEAC3B0 (Unity) WindowsVideoMedia::CopyToRGBA
0x00007FF79AEB0DBE (Unity) WindowsVideoMedia::GetNextVideoFrameGeneric
0x00007FF79AEB09EA (Unity) WindowsVideoMedia::GetNextVideoFrame
0x00007FF798BBEE3C (Unity) VideoClipTranscode::SetToDefault
0x00007FF798BBD72F (Unity) VideoClipTranscode::Import
0x00007FF799039415 (Unity) VideoClipImporter::GenerateAssetData

Notes:
Does not crash when updating a 2019.3.0a8 project that has the MP4 file imported to 2019.3.0a9 but crashes when updating to 2019.3.0a10

  1. Resolution Note (2020.2.X):

    The movie causing the problem has rotation metadata, which is what was causing the crash. The fact that the content is black and white was not the issue. This has already been addressed elsewhere and is in the process of being backported to 2020.2, 2020.1 and 2019.4.

    Note that applying rotation metadata is not yet supported by Unity, but this is easy to work around with a shader or by simply rotating the object on which the movie is applied.

Comments (1)

  1. meldanakuru

    Nov 12, 2020 12:59

    Nursing research paper writing services are very difficult to complete and many students are always searching for Nursing Research Paper Services to help them complete their online nursing papers and custom nursing essay writing services.

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.