Open IgorKubyshkin opened 5 days ago
Is it reproducible in a new project running only AVPro Video demo scenes? Does it also occur when you change to OpenGLES? What is happening in the run up to the crash?
I have reproduced it only once in my test project. It is essentially empty, it contains only avpro. I didn't try to reproduce it in the demo scenes. I also don't see a similar OpenGLES error in the Google play console, vulkan only. The only thing I tried to do before the crash is happened to pause and unpause the app.
So it doesn't happen every time you pause and unpause your app? Are there some devices on which this crash occurs more frequently?
Not every time. I pause/resume my test app several times. That's all I did after launching. I'm not sure if this is the cause of the error, because the crash occurred about 18 seconds later. In this interval, I did nothing.
I'm not sure what frequency will depend on the device. Because there are a lot of them in Google Crash Details
What are the devices under 'others' ? Is it just the 'realme 8i', or are there more suffering this crash? We are looking for a way to link devices suffering the issue (likely by chipset/GPU).
I've sent the list of devices on unitysupport@renderheads.com
What kind of video are you playing? (local mp4, remote mp4, HLS)
Mostly hls. In my test app it was https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8
I've been unable to reproduce this, however I think it's caused when a switch in variants in the HLS manifest occurs whilst the render thread update is running. I've added some checks for this which will make it into the next release.
Okay, waiting for release. Thanks
I have same crash @MorrisRH The crash is Occasional. Due to confidentiality reasons, I cannot provide the video file and engineering files.
Video format: H264 mp4
Crash Stack:
···
libAVProVideo2Native.so pc 000000000005b428 update (/Users/morris/RenderHeads/Dev/AVProVideo-v3/NativePlugins/Android/AVProVideo2/avp_library/src/main/cpp/VulkanPlayer.cpp:74 [Inline: hasUpdatedTexture]) (Other infos:operator bool /Users/morris/RenderHeads/Dev/AVProVideo-v3/NativePlugins/Android/AVProVideo2/avp_library/src/main/cpp/VulkanPlayer.h:197load /Users/morris/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/atomic/atomic_base.h:63__cxx_atomic_load
Crash Device List: vivo X Fold2 (V2266A) Android 14 Honor Magic V3 (FCP-AN10) Android 14 Honor Magic V (MGI-AN00) Android 14 Xiaomi 15 (24129PN74C) Android 15 iQOO 12 (V2307A) Android 14 Samsung Galaxy S21 (SM-G9910) Android 13
Unity Version: 2022.3.50f1 AVPro Version: 3.1.2 Ultra
Unity version
2022.3.32f1
Unity editor platform
Windows
AVPro Video edition
Core
AVPro Video version
3.1.2
Device hardware
realme 8i
Which Android OS version are you using?
13
Unity Graphics API
Vulkan
Video API
media3/ExoPlayer
Texture format
BGRA
Audio output
Unity
Any other Media Player component configuration required to reproduce the issue.
No response
Which output component(s) are you using?
No response
Any other component configuration required to reproduce the issue.
No response
The issue
At first, I noticed that my app crashes with this error from users in the google play console. Now I tried to test avpro on my device and also got this crash. I just run my test app and got it while video was playing. I can confirm that this error also happens in older versions of the plugin. It is not always reproduced. But it happens quite often, according to Google statistics
Media information
No response
Logcat output