-
I drag and drop a mp4 file to Assets
-
drag and drop the mp4 file to StreamingAssets
-
Set the quality from 0.5 to 1, then press apply button, the error message:
MissingReferenceException: The object of type ‘MovieImporter’ has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEditor.MovieImporterInspector.ResetValues () (at /Users/builduser/buildslave/unity/build/Editor/Mono/ImportSettings/MovieImporterInspector.cs:27)
UnityEditor.AssetImporterInspector.ApplyAndImport () (at /Users/builduser/buildslave/unity/build/Editor/Mono/ImportSettings/AssetImporterInspector.cs:160)
UnityEditor.AssetImporterInspector.ApplyButton (System.String buttonText) (at /Users/builduser/buildslave/unity/build/Editor/Mono/ImportSettings/AssetImporterInspector.cs:208)
UnityEditor.AssetImporterInspector.ApplyButton () (at /Users/builduser/buildslave/unity/build/Editor/Mono/ImportSettings/AssetImporterInspector.cs:201)
UnityEditor.AssetImporterInspector.ApplyRevertGUIButtons () (at /Users/builduser/buildslave/unity/build/Editor/Mono/ImportSettings/AssetImporterInspector.cs:219)
UnityEditor.AssetImporterInspector.ApplyRevertGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/ImportSettings/AssetImporterInspector.cs:232)
UnityEditor.MovieImporterInspector.OnInspectorGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/ImportSettings/MovieImporterInspector.cs:61)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1235)
UnityEditor.DockArea:OnGUI() -
I use VideoPlaybackBehaviour to play the video in android device, the video will disappear.
-
Sometimes, the video will display black screen plane.
Import video function react not stable, but i really need this importing normally, please help me to fix it.
I have tried many methods nearly one month, i can’t find more solution in the internet.
This is my first time to use unity forum for final choice, hope someone in this forum can help me.
System: MacOs Sierra, Unity also latest version.
Thank you for your helping.