-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
AndroidAndroid platformAndroid platformFixedA fix will be in the next releaseA fix will be in the next releasetriageNeeds triageNeeds triage
Milestone
Description
Unity version
6000.2.10f1
Unity editor platform
macOS
AVPro Video edition
Core
AVPro Video version
3.3.5
Device hardware
Google Pixel 6a
Which Android OS version are you using?
16
Unity Graphics API
OpenGLES 3
Video API
MediaPlayer
Texture format
BGRA
Audio output
System Direct
Any other Media Player component configuration required to reproduce the issue.
Which output component(s) are you using?
Display uGUI
Any other component configuration required to reproduce the issue.
The issue
When I load the video, the app hard crashes. This is a new issue. I just upgraded from 3.2.7 to 3.3.5 and the issue was not present in 3.2.7.
I have another scene where video playback works fine. I will try to create a minimal example and narrow down why one video works and the other doesn't. I will update this report with that minimal example.
Media information
in-app-mount-demo.mp4
Logcat output
02-02 23:58:56.810 2493 2502 I deeptouch: I0000 00:00:1770094736.810493 2502 tf_lite_classifier.cc:415] Event stream classified as kNone
02-02 23:58:56.842 11630 11667 I Unity : playerID: 000067A3
02-02 23:58:56.842 11630 11667 I Unity : UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
02-02 23:58:56.842 11630 11667 I Unity : Sentry.Unity.Integrations.UnityLogHandlerIntegration:LogFormat(LogType, Object, String, Object[])
02-02 23:58:56.842 11630 11667 I Unity : RenderHeads.Media.AVProVideo.PlatformMediaPlayer:CreateCommandBuffers()
02-02 23:58:56.842 11630 11667 I Unity : RenderHeads.Media.AVProVideo.PlatformMediaPlayer:.ctor(PlatformOptions)
02-02 23:58:56.842 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:CreateMediaPlayer(OptionsAndroid)
02-02 23:58:56.842 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:CreateMediaPlayer()
02-02 23:58:56.842 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:Initialise()
02-02 23:58:56.842 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:Start()
02-02 23:58:56.842 11630 11667 I Unity :
02-02 23:58:56.844 11630 11667 I Unity : CreateCommandBuffers - flags: 00000000
02-02 23:58:56.844 11630 11667 I Unity : UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
02-02 23:58:56.844 11630 11667 I Unity : Sentry.Unity.Integrations.UnityLogHandlerIntegration:LogFormat(LogType, Object, String, Object[])
02-02 23:58:56.844 11630 11667 I Unity : RenderHeads.Media.AVProVideo.PlatformMediaPlayer:CreateCommandBuffers()
02-02 23:58:56.844 11630 11667 I Unity : RenderHeads.Media.AVProVideo.PlatformMediaPlayer:.ctor(PlatformOptions)
02-02 23:58:56.844 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:CreateMediaPlayer(OptionsAndroid)
02-02 23:58:56.844 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:CreateMediaPlayer()
02-02 23:58:56.844 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:Initialise()
02-02 23:58:56.844 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:Start()
02-02 23:58:56.844 11630 11667 I Unity :
02-02 23:58:56.845 11630 11667 I Unity : flags: 000067A3
02-02 23:58:56.845 11630 11667 I Unity : UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
02-02 23:58:56.845 11630 11667 I Unity : Sentry.Unity.Integrations.UnityLogHandlerIntegration:LogFormat(LogType, Object, String, Object[])
02-02 23:58:56.845 11630 11667 I Unity : RenderHeads.Media.AVProVideo.PlatformMediaPlayer:CreateCommandBuffers()
02-02 23:58:56.845 11630 11667 I Unity : RenderHeads.Media.AVProVideo.PlatformMediaPlayer:.ctor(PlatformOptions)
02-02 23:58:56.845 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:CreateMediaPlayer(OptionsAndroid)
02-02 23:58:56.845 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:CreateMediaPlayer()
02-02 23:58:56.845 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:Initialise()
02-02 23:58:56.845 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:Start()
02-02 23:58:56.845 11630 11667 I Unity :
02-02 23:58:56.849 11630 11667 I Unity : [AVProVideo] Initialising AVPro Video v3.3.5 (native plugin v3.3.5-core) on Mali-G78/OpenGL ES 3.2 v1.r54p1-12eac0.3979a5abbd708e71c87fdb7af36852c5 (MT True) on Android
02-02 23:58:56.849 11630 11667 I Unity : UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
02-02 23:58:56.849 11630 11667 I Unity : Sentry.Unity.Integrations.UnityLogHandlerIntegration:LogFormat(LogType, Object, String, Object[])
02-02 23:58:56.849 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:Initialise()
02-02 23:58:56.849 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:Start()
02-02 23:58:56.849 11630 11667 I Unity :
02-02 23:58:56.851 11630 11667 I Unity : [AVProVideo] Opening jar:file:///data/app/~~pV_bIIJ4dP7_xl6tmJpHog==/com.dashcambike.dashcamapp-WrUFOTuXGHURHz5gjqDPNg==/base.apk!/assets/in-app-mount-demo.mp4 (offset 0) with API MediaPlayer
02-02 23:58:56.851 11630 11667 I Unity : UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
02-02 23:58:56.851 11630 11667 I Unity : Sentry.Unity.Integrations.UnityLogHandlerIntegration:LogFormat(LogType, Object, String, Object[])
02-02 23:58:56.851 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:InternalOpenMedia()
02-02 23:58:56.851 11630 11667 I Unity : RenderHeads.Media.AVProVideo.MediaPlayer:Start()
02-02 23:58:56.851 11630 11667 I Unity :
02-02 23:58:56.861 1485 4159 D NuPlayerDriver: NuPlayerDriver(0xf5f01910) created, clientPid(11630)
02-02 23:58:56.865 1485 4159 W mediaserver: AIBinder_linkToDeath is being called with a non-null cookie and no onUnlink callback set. Use AIBinder_DeathRecipient_setOnUnlinked to manage the lifetime of the cookie. This will become an abort.
02-02 23:58:56.865 1485 4159 W mediaserver: AIBinder_linkToDeath is being called with a non-null cookie and no onUnlink callback set. Use AIBinder_DeathRecipient_setOnUnlinked to manage the lifetime of the cookie. This will become an abort.
02-02 23:58:56.865 1485 4159 W mediaserver: AIBinder_linkToDeath is being called with a non-null cookie and no onUnlink callback set. Use AIBinder_DeathRecipient_setOnUnlinked to manage the lifetime of the cookie. This will become an abort.
02-02 23:58:56.874 1480 2510 I SampleTable: There are reordered frames present.
02-02 23:58:56.880 1485 12044 D GenericSource: FileSource remote
02-02 23:58:56.884 1480 2510 I SampleTable: There are reordered frames present.
02-02 23:58:56.886 1480 2512 D MediaBufferGroup: creating MemoryDealer
02-02 23:58:56.909 11630 11667 E AndroidRuntime: FATAL EXCEPTION: UnityMain
02-02 23:58:56.909 11630 11667 E AndroidRuntime: Process: com.dashcambike.dashcamapp, PID: 11630
02-02 23:58:56.909 11630 11667 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from null array
02-02 23:58:56.909 11630 11667 E AndroidRuntime: at com.renderheads.AVPro.Video.Player_MediaPlayer.InternalUpdateVideoTrackInfoNew(Unknown Source:555)
02-02 23:58:56.909 11630 11667 E AndroidRuntime: at com.renderheads.AVPro.Video.Player_MediaPlayer.onPrepared(Unknown Source:484)
02-02 23:58:56.909 11630 11667 E AndroidRuntime: at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:3554)
02-02 23:58:56.909 11630 11667 E AndroidRuntime: at android.os.Handler.dispatchMessageImpl(Handler.java:142)
02-02 23:58:56.909 11630 11667 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:125)
02-02 23:58:56.909 11630 11667 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:269)
02-02 23:58:56.909 11630 11667 E AndroidRuntime: at android.os.Looper.loop(Looper.java:367)
02-02 23:58:56.909 11630 11667 E AndroidRuntime: at com.unity3d.player.W.run(SourceFile:146)
02-02 23:58:56.910 11630 11667 D FirebaseSessions: App backgrounded on com.dashcambike.dashcamappReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
AndroidAndroid platformAndroid platformFixedA fix will be in the next releaseA fix will be in the next releasetriageNeeds triageNeeds triage