Search Issue Tracker

Won't Fix

Under Consideration for 6000.0.X, 6000.3.X

Won't Fix in 6000.5.X

Votes

0

Found in

6000.0.54f1

6000.1.12f1

6000.2.0b10

6000.3.0a2

6000.4.0a1

6000.5.0a1

Issue ID

UUM-111886

Regression

No

[Windows] Crash on WindowsVideoMedia::GetVideoFrameAtIndex when importing a specific MP4 file

Video

-

How to reproduce:
1. Open the attached “IN-105201.zip” project
2. Reimport “Assets/crash.mp4”
3. Observe the crash

Reproducible in: 2023.1.0a1, 6000.0.54f1, 6000.1.12f1, 6000.2.0b10, 6000.3.0a2

Reproducible on: Windows 11
Not reproducible on: MacOS 15.5 Sequoia (Intel)

Note: If the Editor does not crash on first reimport, reimport the file again

First few lines of stacktrace:

{noformat}0x00007FFDB3E3DDC3 (Unity) WindowsVideoMedia::GetVideoFrameAtIndex
0x00007FFDB4761447 (Unity) VideoClipTranscode::SetToDefault
0x00007FFDB475F426 (Unity) VideoClipTranscode::Import
0x00007FFDB49981C4 (Unity) VideoClipImporter::GenerateAssetData
0x00007FFDB490B9CE (Unity) ImportToObjects{noformat}

  1. Resolution Note:

    Thank you for reporting a bug to Unity.

    We believe this bug is caused by AMD GPUs struggling to decode movies encoded with H.265 using Open GOPs. As per our last comment on this bug, as a workaround we propose using an external tool to re-encode the offending movie with closed GOPs.

    Thank you again for taking the time to report the issue, and please report back if this workaround proves unsatisfactory for your use case.

  2. Resolution Note (6000.5.X):

    Thank you for reporting a bug to Unity.

    We believe this bug is caused by AMD GPUs struggling to decode movies encoded with H.265 using Open GOPs. As per our last comment on this bug, as a workaround we propose using an external tool to re-encode the offending movie with closed GOPs.

    Thank you again for taking the time to report the issue, and please report back if this workaround proves unsatisfactory for your use case.

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.