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
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
- Audio Mixer “+” buttons overlap with UI when the Audio Mixer window layout is set to Horizontal
- "Clear" button in the "Set project display name" closes all the pop-up instead of clearing just a name from the field
- Video Player renders no video on specific devices when using Vulkan
- The Editor slows itself down by showing tons of warnings when the majority of TransformAccessArrays content are NullRefs
Add comment