Not signed in
Copyright © 2026 Unity Technologies
Android: Fixed `CalledFromWrongThreadException` error caused when pausing app on low-end devices
After upgrading to Unity 6 preview, version 11f1, we keep seeing this new crash in ALL our Android games (very different types of games). So we are thinking it is a unity related issue.
The crash is also the most frequent one.
I wasn’t able to reproduce it locally, I have been trying to for a month.
I only see the bug once the app is uploaded on a global scale; it might affect specific devices, looks like low-end devices.
The crash log is as follows (most relevant information I have):
Caused by android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:9819) at android.view.ViewRootImpl.invalidateChildInParent(ViewRootImpl.java:2016) at android.view.ViewGroup.invalidateChild(ViewGroup.java:6230) at android.view.View.invalidateInternal(View.java:19385) at android.view.View.invalidate(View.java:19312) at android.view.View.invalidateDrawable(View.java:24065) at android.graphics.drawable.Drawable.invalidateSelf(Drawable.java:473) at android.graphics.drawable.Drawable.setVisible(Drawable.java:920) at android.graphics.drawable.LayerDrawable.setVisible(LayerDrawable.java:1333) at android.view.View.setBackgroundDrawable(View.java:24657) at android.view.View.setBackground(View.java:24633) at com.unity3d.player.C.onPixelCopyFinished(:45) at android.view.PixelCopy$1.run(PixelCopy.java:191) 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.os.HandlerThread.run(HandlerThread.java:67)
Notes:
Sign in to see your voted issues