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
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
-
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.
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
This is a duplicate of issue #1268145