Search Issue Tracker
Fixed in 2022.1.X
Fixed in 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
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)
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
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a10
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.8f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.27f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.36f1