Search Issue Tracker
Fixed
Fixed in 2021.3.36f1, 2022.3.20f1, 2023.2.10f1, 2023.3.0b6, 7000.0.0a1
Votes
0
Found in
2021.3.33f1
2022.3.16f1
2023.2.4f1
2023.3.0b1
Issue ID
UUM-59734
Regression
No
AndroidJavaObject.Set() throws exception when used
Reproduction steps:
1. Open the attached project “TestProject”
2. Open the “Assets/Scenes/SampleScene.unity” scene
3. Build And Run on Android
4. Observe the device logcat
Expected result: No Exception is thrown
Actual result: The error “Exception: JNI: Unknown signature for type 'ClickCallback' (obj = ClickCallback) equal at UnityEngine._AndroidJNIHelper.GetSignature (System.Object obj) [0x00315] in /home/bokken/sharedspace/ra_2022.3/Modules/AndroidJNI/AndroidJava.cs:1778
)” is thrown
Reproducible with: 2021.3.33f1, 2022.3.16f1, 2023.2.4f1, 2023.3.0b1
Reproducible with these devices:
VLNQA00518 - Google Pixel 4 (Pixel 4), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 12
VLNQA00414 - Galaxy Note10+ 5G (SM-N976V), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 9
VLNQA00591 - Samsung Galaxy S23 (SM-S911B), CPU: Snapdragon 8 Gen 2 (SM8550), GPU: Adreno 740, OS: 14
VLNQA00278 - Xiaomi Redmi Note 7 (Redmi Note 7), CPU: Snapdragon 660, GPU: Adreno 512, OS: 9.0.0
VLNQA00139 - Vivo Xplay6 (vivo Xplay6), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 7.1.1
VLNQA00132 - Xiaomi Mi 5s (MI 5s), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 6.0.1
Reproducible on: macOS(Intel) 14.0 Sonoma
Full error:
29625 Error Unity Exception: JNI: Unknown signature for type 'ClickCallback' (obj = ClickCallback) equal
29625 Error Unity at UnityEngine._AndroidJNIHelper.GetSignature (System.Object obj) [0x00315] in /home/bokken/sharedspace/ra_2022.3/Modules/AndroidJNI/AndroidJava.cs:1778
29625 Error Unity at UnityEngine._AndroidJNIHelper.GetFieldID[ReturnType] (System.IntPtr jclass, System.String fieldName, System.Boolean isStatic) [0x00001] in /home/bokken/sharedspace/ra_2022.3/Modules/AndroidJNI/AndroidJava.cs:1608
29625 Error Unity at UnityEngine.AndroidJNIHelper.GetFieldID[FieldType] (System.IntPtr jclass, System.String fieldName, System.Boolean isStatic) [0x00001] in /home/bokken/sharedspace/ra_2022.3/Modules/AndroidJNI/AndroidJNI.bindings.cs:198
29625 Error Unity at UnityEngine.AndroidJavaObject._Set[FieldType] (System.String fieldName, FieldType val) [0x00001] in /home/bokken/sharedspace/ra_2022.3/Modules/AndroidJNI/AndroidJava.cs:760
29625 Error Unity at UnityEngine.AndroidJavaObject.Set[FieldType] (System.String fieldName, FieldType val) [0x00001] in /home/bokken/sharedspace/ra_2022.3/Modules/AndroidJNI/
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Add comment