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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment