Crashes On Android 11 Devices

I’ve been facing issue recently with Android 11 devices.
Interesting thing is that there’s NO SAMSUNG DEVICE in the list of devices in which my game is crashing.
Most of the devices belong to Xiaomi, Oppo, Infinix and some other Chinese brands.
Using Unity 2020.3.15 with Unity IAP, Unity Ads, Google Mobile Ads.

Following is the crash report.

at android.view.ViewGroup.offsetRectBetweenParentAndChild (ViewGroup.java:6362)
at android.view.ViewGroup.offsetDescendantRectToMyCoords (ViewGroup.java:6291)
at android.view.ViewRootImpl.scrollToRectOrFocus (ViewRootImpl.java:4607)
at android.view.ViewRootImpl.draw (ViewRootImpl.java:4147)
at android.view.ViewRootImpl.performDraw (ViewRootImpl.java:3989)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:3250)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:2076)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:8506)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1076)
at android.view.Choreographer.doCallbacks (Choreographer.java:897)
at android.view.Choreographer.doFrame (Choreographer.java:826)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1061)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:236)
at android.app.ActivityThread.main (ActivityThread.java:8059)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:656)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:967)

Same problem for me, they appeared after I updated to Unity 2021.3.1f1

java.lang.Error: FATAL EXCEPTION [main]
Unity version     : 2021.3.1f1
Device model      : LENOVO Lenovo TB-X306F
Device fingerprint: Lenovo/LenovoTB-X306F_EEA/X306F:11/RP1A.200720.011/S230242_220327_BMP:user/release-keys
Build Type        : Release
Scripting Backend : IL2CPP
ABI               : arm64-v8a
Strip Engine Code : true
Caused by
  at android.view.ViewGroup.offsetRectBetweenParentAndChild (ViewGroup.java:6336)
  at android.view.ViewGroup.offsetDescendantRectToMyCoords (ViewGroup.java:6262)
  at android.view.ViewRootImpl.scrollToRectOrFocus (ViewRootImpl.java:4556)
  at android.view.ViewRootImpl.draw (ViewRootImpl.java:4105)
  at android.view.ViewRootImpl.performDraw (ViewRootImpl.java:3949)
  at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:3207)
  at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:2020)
  at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:8410)
  at android.view.Choreographer$CallbackRecord.run (Choreographer.java:974)
  at android.view.Choreographer.doCallbacks (Choreographer.java:797)
  at android.view.Choreographer.doFrame (Choreographer.java:732)
  at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:959)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:223)
  at android.app.ActivityThread.main (ActivityThread.java:7785)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:612)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:997)

HI, I am also facing this kind of issue
And this creating Crashes Please Tell me if anyone know the answer how i handle this issue.

java.lang.Error: FATAL EXCEPTION [main]
Unity version : 2020.3.25f1
Device model : Xiaomi Redmi Note 8
Device fingerprint: xiaomi/ginkgo/ginkgo:11/RKQ1.201004.002/V12.5.1.0.RCOINXM:user/release-keys
Build Type : Release
Scripting Backend : IL2CPP
ABI : arm64-v8a
Strip Engine Code : true
Caused by
at android.view.ViewGroup.offsetRectBetweenParentAndChild (ViewGroup.java:6351)
at android.view.ViewGroup.offsetDescendantRectToMyCoords (ViewGroup.java:6280)
at android.view.ViewRootImpl.scrollToRectOrFocus (ViewRootImpl.java:4560)
at android.view.ViewRootImpl.draw (ViewRootImpl.java:4113)
at android.view.ViewRootImpl.performDraw (ViewRootImpl.java:3957)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:3228)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:2070)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:8400)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1058)
at android.view.Choreographer.doCallbacks (Choreographer.java:880)
at android.view.Choreographer.doFrame (Choreographer.java:813)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1043)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:236)
at android.app.ActivityThread.main (ActivityThread.java:8037)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:656)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:967)

It is impacting games on our entire account.

In our case, apart from “Crashes On Android 11 Devices”- (0.38 % current version vs 0.1 % previous version) we are having enormous increase in our ANR rate as well on Android 10 devices up 0.39% from 0.22%(previous version). On average we have about 1M monthly active users on each of our game. It is potentially impacting our business as we are near threshold and don’t have room for potential experiments/updates.

In one of our game we downgraded the unity back to our earlier(somewhat stable) release version(to Unity2019.4.34 from Unity2019.4.38) and even re-uploaded our same build with a different build version without a single change in UI or gameplay. There is at least 0.2% increase both in ANR rate and crashes.

So I am processing my head over why two builds without single change in gameplay and having same Unity version can have dramatic difference in vitals. Hope this add to the experiences you are having in tackling this, and I would like to hear if someone has any update.

I have the same problem, any progress on this issue?

Same Problem. any Solution?

java.lang.Error: FATAL EXCEPTION [main]
Unity version : 2020.3.25f1
Device model : realme RMX2170
Device fingerprint: realme/RMX2170/RMX2170L1:11/RKQ1.200903.002/1621946429926:user/release-keys
Build Type : Release
Scripting Backend : IL2CPP
ABI : arm64-v8a
Strip Engine Code : true
Caused by
at android.view.ViewGroup.offsetRectBetweenParentAndChild (ViewGroup.java:6358)
at android.view.ViewGroup.offsetDescendantRectToMyCoords (ViewGroup.java:6287)
at android.view.ViewRootImpl.scrollToRectOrFocus (ViewRootImpl.java:4839)
at android.view.ViewRootImpl.draw (ViewRootImpl.java:4405)
at android.view.ViewRootImpl.performDraw (ViewRootImpl.java:4221)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:3452)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:2248)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:8820)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1470)
at android.view.Choreographer.doCallbacks (Choreographer.java:1267)
at android.view.Choreographer.doFrame (Choreographer.java:978)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1455)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:254)
at android.app.ActivityThread.main (ActivityThread.java:8211)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:612)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1006)

Seems to be an error in the Admob plugin: github issue