Search Issue Tracker
Fixed in 2021.3.53f1
Fixed in 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X, 7000.0.0a27, future release
Votes
0
Found in
2021.3.46f1
2022.3.54f1
6000.0.30f1
6000.1.0a7
6000.2.0a1
Issue ID
UUM-90092
Regression
No
[Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
How to reproduce:
1. Open the “ReproProject“ project
2. Open the “SampleScene“
3. Build and Run for Android
4. Search for the “AndroidJNI.ToBooleanArray(null): ” in the logcat
Expected result: The “AndroidJNI.ToBooleanArray(null)” return a zero value
Actual result: The “AndroidJNI.ToBooleanArray(null)” return a non-zero value
Reproducible with: 2021.3.46f1, 2022.3.54f1, 6000.0.30f1, 6000.1.0a7
Reproducible environment: macOS 15.1.1 (Intel), Windows 10 pro (22H2)
Not reproducible environment: No other environment tested
Reproducible with these devices:
VLNQA00511, Samsung Galaxy S8 (SM-G950F), Android 9, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
VLNQA00518, Google Pixel 4 (Pixel 4), Android 13, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00107, Huawei Nexus 6P (Nexus 6P), Android 8.1.0, CPU: Snapdragon 810 MSM8994, GPU: Adreno (TM) 430
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
Not reproducible with these devices:
VLNQA00626, iPhone 16 (MYE73QN/A), CPU: Apple A18 Pro, GPU: Apple designed, OS: 18.0.1
Note: Not reproducible in the Editor and Standalone
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 6000.2):
"[Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null" when the method argument is null"
AndroidJNI.ToBooleanArray when null now returns 0 rather than random memory overflow address.
Resolution Note (fix version 6000.1):
Android: Fixed AndroidJNI.ToBooleanArray not returning 0 when null.
Resolution Note (fix version 6000.0):
Android: Fixed AndroidJNI.ToBooleanArray not returning 0 when null.