Search Issue Tracker
Fixed
Fixed in 2021.3.36f1, 2022.3.20f1, 2023.2.10f1, 2023.3.0b6, 2024.1.0a1
Votes
0
Found in
2021.3.33f1
2022.3.16f1
2023.2.4f1
2023.3.0b1
2024.1.0a1
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment