Crash from android

Hi!

We see the top crash in our games has the next stack trace

at android.view.ViewGroup.offsetRectBetweenParentAndChild (ViewGroup.java:6078)
  at android.view.ViewGroup.offsetDescendantRectToMyCoords (ViewGroup.java:6007)
  at android.view.ViewRootImpl.scrollToRectOrFocus (ViewRootImpl.java:3625)
  at android.view.ViewRootImpl.draw (ViewRootImpl.java:3208)
  at android.view.ViewRootImpl.performDraw (ViewRootImpl.java:3133)
  at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2492)
  at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1474)
  at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:7235)
  at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1029)
  at android.view.Choreographer.doCallbacks (Choreographer.java:840)
  at android.view.Choreographer.doFrame (Choreographer.java:775)
  at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1015)
  at android.os.Handler.handleCallback (Handler.java:873)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:193)
  at android.app.ActivityThread.main (ActivityThread.java:6746)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)

We see it on different android versions: 8, 9, 10, 11

We see this on Unity 2019.2.19f1, 2020.3.2f1, 2020.3.20f1

Do you have any fixes in the next releases?

Thanks!

2 Likes

I have a lot of this crash on Unity 2020.3.25f1. Please take a look.

Up

up

up

Are you also seeing a crash showing offsetRectBetweenParentAndChild in the logs? Does it happen with a new/empty project? If not, that’s your path forward, find the differences.

It happenes in production project. And we don’t have 100%
Do you see possible issues in Unity side?

Can you reproduce? Not sure what you mean by 100%, I’m asking you to compare to a new/empty project if you can reproduce.