Search Issue Tracker
By Design
Votes
0
Found in
2018.1.1f1
Issue ID
1049026
Regression
No
[Android] packageManager.GetStatic<int>("GET_SIGNATURES") causes a crash
Steps to reproduce:
1. Open user attached project
2. Build & Run on an Android device
3. Observe that a crash occurs
Expected result: packageManager.GetStatic<int>("GET_SIGNATURES") should not cause a crash on an Android device
Reproduced in: 2018.3.0a1, 2018.1.4p1, 2017.2.3p1, 5.6.3p3
Workaround: GET_SIGNATURES can be used as a constant instead
var GET_SIGNATURES = 64;
using (var packageInfo = packageManager.Call<AndroidJavaObject>(packageName, GET_SIGNATURES));
Devices reproduced with:
Htc HTC 10, OS:7.0, CPU:arm64-v8a, GPU:Adreno (TM) 530
Motorola Moto G (4), OS:7.0, CPU:armeabi-v7a, GPU:Adreno (TM) 405
Samsung SM G903F, OS:6.0.1, CPU:armeabi-v7a, GPU:Mali-T720
Not reproduced with:
Lge LG F180L (Optimus G), OS:4.1.2, CPU:armeabi-v7a, GPU:Adreno (TM) 320
Not reproduced on iPhone 6 (iOS 11.3.1) too.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment