Search Issue Tracker

Fixed in 2022.1.X

Planned for 2019.4.X, 2020.3.X, 2021.2.X

Votes

0

Found in

2018.4

2019.4

2019.4.26f1

2020.3

2021.1

2021.2

2022.1

Issue ID

1347100

Regression

No

[Editor][Crash] Crash on VideoClipImporter.GetPreviewTexture() when Clicking on an .mp4 video in the Editor

Video

-

Reproduction steps:
1. Open the attached project "mp4Crash.zip"
2. Double click any of the .mp4 files in the ../Assets/Videos folder

Expected result: No crash
Actual result: The Editor crashes

Reproducible with: 2018.4.36f1, 2019.4.28f1, 2020.3.14f1, 2021.1.14f1, 2021.2.0b3, 2022.1.0a2

Stacktrace:
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) UnityEditor.VideoClipImporter.GetPreviewTexture (UnityEditor.VideoClipImporter)
  at UnityEditor.VideoClipImporterInspector.OnPreviewGUI (UnityEngine.Rect,UnityEngine.GUIStyle)
  at UnityEditor.Editor.OnInteractivePreviewGUI (UnityEngine.Rect,UnityEngine.GUIStyle)
  at UnityEditor.ObjectPreview.DrawPreview (UnityEditor.IPreviewable,UnityEngine.Rect,UnityEngine.Object[])
  at UnityEditor.Editor.DrawPreview (UnityEngine.Rect)

  1. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0a10

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.