metrica-plugin-unity icon indicating copy to clipboard operation
metrica-plugin-unity copied to clipboard

Crash in com.yandex.metrica.impl.ob.ro.a on Android (Unity 3D)

Open Hitomilras opened this issue 2 years ago • 5 comments

Hi. We use appmetric SDK in our Unity 3D game, version 5.0.0. 25% of all crashes are crashes of appmetric'a. I'm attaching the stacktrace.

Yes, we understand what is written in the stack trace. But it's guaranteed that firstly we initialize appmetrica SDK and only then access any of its methods.

IMPORTANT. When the library version was 4.2.0 this crash didn't happen. In projects where we also use the appmetrica (we have one integration for all our projects) and version 4.2.0 we don't see crashes. It appeared only after upgrade to 5.0.0.

There seems to be one thread on the internet that is similar to our case: https://github.com/yandexmobile/metrica-plugin-unity/issues/25

My question is. How can we fix the crash now? We can't downgrade because Google Play requires version 5.0.0, otherwise it says that we violate its policies.

Thank you.

Hitomilras avatar Aug 27 '22 13:08 Hitomilras

Добрый день!Ваше письмо получено и зарегистрировано под уникальным номером № 18927894. Ответ обязательно будет предоставлен, пожалуйста, ожидайте.Просим Вас не отправлять повторное письмо по данному вопросу - оно будет считаться новой заявкой и может быть обработано позднее.Помощь сервиса: https://yandex.ru/support/direct/?from=email--С уважением,Отдел клиентского сервисател.: 8 800 234-24-80 (звонок из регионов России бесплатный)тел.: +7 495 739-37-77&nbsp27.08.2022, 16:28, "Aleksey Rastegaev" @.***>: Hi. We use appmetric SDK in our Unity 3D game, version 5.0.0. 25% of all crashes are crashes of appmetric'a. I'm attaching the stacktrace. Yes, we understand what is written in the stack trace. But it's guaranteed that firstly we initialize appmetrica SDK and only then access any of its methods. IMPORTANT. When the library version was 4.2.0 this crash didn't happen. In projects where we also use the appmetrica (we have one integration for all our projects) and version 4.2.0 we don't see crashes. It appeared only after upgrade to 5.0.0. There seems to be one thread on the internet that is similar to our case: #25 My question is. How can we fix the crash now? We can't downgrade because Google Play requires version 5.0.0, otherwise it says that we violate its policies. Thank you.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

ghost avatar Aug 27 '22 13:08 ghost

are there any working fix for this crash? faced with it when update target api level to 31

kiloT avatar Nov 22 '22 13:11 kiloT

We also see crashes in our project due to appmetrica, 25% of app starts are crashes

NudeNULL avatar Jan 24 '23 10:01 NudeNULL

@NudeNULL try to update appmetrica to latest version(5+). my crashes will be fixed by such update.

kiloT avatar Jan 24 '23 12:01 kiloT

Tried 5.1.0 and 5.2.0, nothing helped, now trying to see if the initialization order can be the reason...

NudeNULL avatar Jan 24 '23 12:01 NudeNULL