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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
This is a duplicate of issue #1062852