Search Issue Tracker
Duplicate
Votes
0
Found in
2018.2.3f1
Issue ID
1070202
Regression
Yes
[Android] java.util.HashMap call crash when running built application
To reproduce:
1. Open user's project
2. Build it for Android
3. Launch the application
Expected: application doesn't crash
Actual: application crashes or freezes on black screen
Reproduced in: 2018.2.0a1, 2018.2.5f1, 2018.3.0a7
Not reproduced in: 2017.2.3p3, 2017.4.9f1, 2018.1.9f1
Note: code lines responsible for the crash:
AndroidJavaObject mapObj = new AndroidJavaObject("java.util.HashMap");
mapObj.Call<string>("put", "publicKey", "abc");
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ScheduleGenerateTilingShape when modifying PolygonCollider2D path count and setting path vertices
- Crash when a scene is created with LocalPhysicsMode::Physics3D
- [HDRP] Light doesn't bounce off terrains
- Unity Hub opens instead of the Unity Editor when launching a project from a Windows command line if a backslash is added to the end of the project path
- "ParseErrorException" is thrown when parsing a float with a very small value from JSON
This is a duplicate of issue #1062852