Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2021.2.0a6
Issue ID
1316752
Regression
Yes
Crashes related to Android custom cursors
A recent PR that added support for Android custom cursors also caused 2 regressions/crashes that are closely related.
The first crash: In a debug Android build, with no custom cursor set, you can see a crash at startup with a simple Unity project. This does not happen in development or release builds. In development/release builds, you will see a "JNI" error in the log output, but the build will function normally.
Repro steps:
1. Create a new Unity project.
2. Deploy a debug Android player to an Android device.
3. Android will crash at startup.
The expected result is that a debug build should start and run with no issues.
The second crash's repro steps:
1. Create a Unity project.
2. Set a default custom cursor that is of an incorrect format; for example, select one of the built-in texture resources within Unity. You will get a warning in the Unity Editor that the texture has the wrong format, but you will still be allowed to build and run the Android player.
3. Android will crash at startup.
The expected result is that you will see the default cursor and not a custom cursor, since it was set up incorrectly. There should be no crash.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Readme” Asset is unreadable in the Inspector window when switching Editor Theme to Light
- “NullReferenceException” error thrown when switching Editor Theme to Light if “Unity Version Control” tab is enabled
- A Warning is displayed in the Inspector when a Mesh with any Material is added as a Terrain Detail
- [Android][Vulkan] Memory leak when playing and stopping a video using the Video Player on some devices
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
Add comment