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 DualThreadAllocator<DynamicHeapAllocator>::Contains when closing a Sub Scene with DynamicBuffer to MetaChunkEntity in Play mode
- Crash on UnityMain when switching from DX11 to DX12 with HDR enabled
- Player gets a grey filter over the whole window when Player is in Exlcusive window mode and HDR is enabled
- Missing VisionOS "Target minimum VisionOS Version" Field in the Project Settings window
- External Script Editor preference resets to last set IDE when switching Unity Editor versions
This is a duplicate of issue #1062852