Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.2.0b5
Issue ID
1159253
Regression
No
[Video] "VideoClip import error" is thrown on importing an mp4 of different byte stream
"VideoClip import error" is thrown on importing an mp4 of different byte stream. The attached video file is an mp4 which works perfectly with web browsers and VLC media player.
Steps to reproduce:
1) Create a new project
2) Import attached video
Actual result: "VideoClip import error" is thrown.
Expected result: Video should be imported without throwing any errors.
Reproducible in: 2019.3.0a5, 2019.2.0b5, 2018.3.7f1, 2017.4.f1
Environment: Both Windows and Mac.
Note:The video is captured from a screen gabbing tool called S-recorder.
Stack trace:
On Windows:
WindowsVideoMedia error 0xc00d36c4 while reading F:/Delete/2019.2.0b5/Assets/2019.3.0a5.mp4
Context: CreateObjectFromByteStream
Error details: The byte stream type of the given URL is unsupported.
Track types:
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
-----------------------------------------------------------------------
WindowsVideoMedia error 0xc00d36c4 while reading F:/Delete/2019.2.0b5/Assets/2019.3.0a5.mp4
Context: CreateObjectFromByteStream
Error details: The byte stream type of the given URL is unsupported.
Track types:
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
---------------------------------------------------------------------
Error while reading movie: F:/Delete/2019.2.0b5/Assets/2019.3.0a5.mp4
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
-----------------------------------------------------------------------
VideoClip import error for Assets/2019.3.0a5.mp4
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
-----------------------------------------------------------------------
WindowsVideoMedia error 0xc00d36c4 while reading F:/Delete/2019.2.0b5/Assets/2019.3.0a5.mp4
Context: CreateObjectFromByteStream
Error details: The byte stream type of the given URL is unsupported.
Track types:
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
-----------------------------------------------------------------------------
On MAC:
Error 'Cannot Open' while reading video frame from /Users/macmini6/Downloads/Unity Android Plugin Example/Assets/Sidebar.mp4
Error details:
Error Domain=AVFoundationErrorDomain Code=-11829 "Cannot Open" UserInfo={NSLocalizedFailureReason=This media may be damaged., NSLocalizedDescription=Cannot Open, NSUnderlyingError=0x7fbfbe7534e0 {Error Domain=NSOSStatusErrorDomain Code=-12137 "(null)"}}
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
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
- “Frame Debugger On” text color not maintained across different Editor Themes in toolbar
- Rendering artefacts appear in the Game view window when maximizing/minimizing Inspector window and Frame Debugger is Enabled
- [MacOS] AdvancedDropdown in the Profiler is not scrollable even when not all options in the list are visible
- Memory leak when a lot of Particle Systems instantiated while Profiler is open
- "ArgumentOutOfRangeException" error is thrown when trying to delete letters from an RTL TextField when using the Advanced Text Generator
Resolution Note:
Microsoft Media Foundation cannot decode this movie file (e.g.: cannot be played in Windows Media Player), so Unity is also limited by this.