Search Issue Tracker
Third Party Issue
Votes
0
Found in
2019.4
2019.4.26f1
2020.3
2021.1
2021.2
Issue ID
1357720
Regression
No
[Android] AndroidJavaClass.CallStatic is unable to receive OBB file when the project is built using Build And Run
How to reproduce:
1. Open the user's attached "SignInTest.zip"
2. Run and Build the "SampleScene" on an Android device
3. Allow permission on the device when asked
Expected results: "Successfully hashed OBB" is printed in the app
Actual results: "Failed to hash OBB" is printed in the app
Reproducible with: 2019.4.31f1, 2020.3.20f1, 2021.1.24f1, 2021.2.0b15
Could not test with: 2022.1.0a11 because of the "exception: java.lang.ClassNotFoundException" error
Reproduced with:
Pixel 5
----------, Samsung S21 (SM-G991U), Android 11, CPU: Snapdragon 888, GPU: Adreno (TM) 660
Did not reproduce with:
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
VLNQA00294, Oppo OPPO Reno Z (PCDM10), Android 11, CPU: NOT FOUND, GPU: PowerVR Rogue GM9446
VLNQA00332, Samsung Galaxy XCover4 (SM-G390F), Android 9, CPU: Exynos 7 Quad 7570, GPU: Mali-T720
VLNQA00334, Xiaomi Mi A3 (Mi A3), Android 11, CPU: Snapdragon 665 SM6125, GPU: Adreno (TM) 610
VLNQA00096, Samsung Galaxy S8 (SM-G950F), Android 8.0.0, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
VLNQA00015, Samsung Galaxy Note8 (SM-N950W), Android 8.0.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00380, Xiaomi MI 8 Lite (MI 8 Lite), Android 9, CPU: Snapdragon 660, GPU: Adreno (TM) 512
VLNQA00332, Samsung Galaxy XCover4 (SM-G390F), Android 9, CPU: Exynos 7 Quad 7570, GPU: Mali-T720
VLNQA00381, Xiaomi Redmi Note 8 Pro (Redmi Note 8 Pro), Android 9, CPU: MediaTek Helios G90T MT6785T, GPU: Mali-G76 MC4
VLNQA00099, Google Pixel XL (Pixel XL), Android 10, CPU: Snapdragon 821 MSM8996 Pro, GPU: Adreno (TM) 530
Note:
- Code used to hash OBB:
AndroidJavaClass signInClass = new AndroidJavaClass("com.recroom.googleplaynative.SignInActivity");
AndroidJavaObject javaObject = signInClass.CallStatic<AndroidJavaObject>("Instance");
- The issue is not reproducible if the apk is installed seperatly (like using adb) and then obb is inserted manually into the Android/obb folder and app restarted
- Installing app using "Build And Run" then restarting the app will still fail to hash OBB
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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note (2022.1.X):
The failure comes from a plugin for which the source code is not provided. As such, there's nothing we can fix.