Search Issue Tracker


Fixed in 2020.3.38f1, 2021.3.8f1, 2022.1.19f1



Found in




Issue ID




[Android] Crash in Player due to an overflow of global references to android.view.MotionEvent



Reproduction steps:
1. Download and open the attached project: ""
2. Connect an Android device to your system
3. Go to Window > Analysis > Android Logcat
4. Build and Run the project to the Android device
5. Click the screen a few thousand times

Expected result: The counter increases indefinitely
Actual result: After a varying amount of clicks (4000-10000) the project crashes and the android.view.MotionEvent related error can be seen in the Android Logcat window

Reproduced with: 2020.3.35f1, 2020.3.36f1

Reproduced using:
VLNQA00134, Samsung Galaxy S8 (SM-G950F), Android 9, CPU: Exynos 9 Octa 8895, GPU: Mali-G71

- It was reported by the users that the issue does not occur in 2020.3.34f1
- After 25000 clicks when built with Unity 2023.1.0a2, the crash did not occur
- Due to the nature of the issue, reproduction and testing on multiple devices and Unity versions would be a very lengthy process thus testing was limited to the 2020.3 stream

  1. Resolution Note (fix version 2021.3.8f1):

    Android: Fix overflow of MotionEvent global references

Comments (1)

  1. akiyamaexe

    Aug 31, 2022 02:26

    It also happens on 2022.1.13f.1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.