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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment