Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2018.2.X
Votes
29
Found in
2018.2.0a1
2018.2.0f2
Issue ID
1062852
Regression
Yes
Android application crashes when native function returns null
Calling Android native function that returns null through AndroidJavaObject.CallStatic<object> method crashes application
Steps to reproduce:
1. Open attached project "RefExp2"
2. Build and run on Android
-Inspect logcat for crash logs (Application screen will also turn black)
Reproduced with: 2018.2.0a1, 2018.2.1f1, 2018.3.0a7
Didn't reproduce with: 2017.3.2f1, 2017.4.9f1, 2018.1.8f1
Regressed in: 2018.2.0a1
Devices under test:
VLNQA00031, Lge Nexus 5 (Nexus 5), 6.0.1, CPU: Snapdragon 800 MSM8974, GPU: Adreno (TM) 330
VLNQA00002, Samsung Galaxy S5 Neo (SM-G903F), 6.0.1, CPU: Exynos 7 Octa 7580, GPU: Mali-T720
VLNQA00025, Xiaomi Mi 5s (MI 5s), 6.0.1, CPU: Snapdragon 820 MSM8996, GPU: Adreno (TM) 530
Google Emulator (Android SDK built for x86), 8.0.0, GPU: Android Emulator OpenGL ES Translator (AMD Radeon (TM) R7 360 Series)
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
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
- Mouse and Pointer Events are called incorrectly in ScrollView with XRUIInputModule
- Memory leak occurs when repeatedly minimizing and maximizing the UI Builder window
ShayiLL
Apr 16, 2020 06:41
still not working in 2018.3.10f
unity_xrPBQ-2zcfd-DA
Dec 24, 2018 10:47
Is this fixed in 2018.3? Has anyone tried? I am on 2018.2.2f1 and still having this issue. And does not want to update to 2018.3 unless this issue has been resolved.
Shankar-Ganesh
Sep 25, 2018 05:13
Not yet fixed. Still issue in 2018.2.8f1. In which version of the Unity will solve this issue. Need a quick update on this.
at libc.strlen(strlen
at libunity.UnitySendMessage (UnitySendMessage:24)
at libunity.00454b80 (Native Method)
at base.oatexec (oatexec)
tmars
Sep 14, 2018 11:26
Marked as fixed for 2018.2.8
Martin_k
Sep 14, 2018 08:23
still not working in 2018.2.7f1
registervisualstudio
Sep 07, 2018 14:29
Thank you for the feedback @EVALDAS_UNITY.
jbrandao_gazeus
Sep 05, 2018 13:13
DAVE-HAMPSON and EVALDAS_UNITY, Thank you very much for the feedback!
Evaldas_Unity
Sep 05, 2018 05:31
@JBRANDAO_GAZEUS
2018.3 beta should be coming out in the upcoming week or two.
And yes, it will be fixed in 2018.2. Best case scenario 2018.2.8f1. If not - definitely in 9f1.
jbrandao_gazeus
Sep 04, 2018 18:26
Will it be fixed on 2018.2? And when will 2018.3 be released?
Dave-Hampson
Sep 04, 2018 17:27
This is NOT fixed in Unity 2018.2.6f1. The pull request is still in progress for 2018.2.
(The Fixed in future release is because it has already been merged for 2018.3.)