Search Unity

Bug com.unity3d.player.H.surfaceDestroyed

Discussion in 'Editor & General Support' started by araheem-developer, Jan 5, 2024.

  1. araheem-developer

    araheem-developer

    Joined:
    Jan 5, 2024
    Posts:
    4
    We are experiencing lot of ANRs after Upgrading from unity version 2021.3.2f1

    Unity Version: ( 2022.3.16f1 )
    Ad Network Plugin => AppLovin With Mediation ( Google Admob, Mintegral, Pangle )

    Exception java.lang.Error: FATAL EXCEPTION [main]
    Unity version : 2022.3.16f1
    Device model : motorola moto g14
    Device fingerprint: motorola/cancun_g/cancun:13/TLB33.78-180-1/11221700:user/release-keys
    CPU supported ABI : [arm64-v8a, armeabi-v7a, armeabi]
    Build Type : Release
    Scripting Backend : IL2CPP
    Libs loaded from : lib/arm64
    Strip Engine Code : trueCaused by: java.lang.OutOfMemoryError
    at android.graphics.Bitmap.nativeCreate
    at android.graphics.Bitmap.createBitmap (Bitmap.java:1120)
    at android.graphics.Bitmap.createBitmap (Bitmap.java:1078)
    at android.graphics.Bitmap.createBitmap (Bitmap.java:1028)
    at android.graphics.Bitmap.createBitmap (Bitmap.java:989)
    at com.unity3d.player.H.surfaceDestroyed
    at android.view.SurfaceView.notifySurfaceDestroyed (SurfaceView.java:1808)
    at android.view.SurfaceView.updateSurface (SurfaceView.java:988)
    at android.view.SurfaceView.onWindowVisibilityChanged (SurfaceView.java:309)
    at android.view.View.dispatchWindowVisibilityChanged (View.java:15425)
    at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1621)
    at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1621)
    at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1621)
    at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1621)
    at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1621)
    at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2874)
    at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:2372)
    at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:9082)
    at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1234)
    at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1242)
    at android.view.Choreographer.doCallbacks (Choreographer.java:902)
    at android.view.Choreographer.doFrame (Choreographer.java:835)
    at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1217)
    at android.os.Handler.handleCallback (Handler.java:942)
    at android.os.Handler.dispatchMessage (Handler.java:99)
    at android.os.Looper.loopOnce (Looper.java:201)
    at android.os.Looper.loop (Looper.java:288)
    at android.app.ActivityThread.main (ActivityThread.java:8066)
    at java.lang.reflect.Method.invoke
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:703)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:911)
     
    idonknow likes this.