Search Issue Tracker

Fixed in Unity 2018.3

Votes

29

Found in

2018.2.0f2

Issue ID

1062852

Regression

Yes

Android application crashes when native function returns null

Mobile

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 1Crash, freeze, data loss, work stops

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)

Comments (33)

  1. 2bd7c7333f22b88433ddffb535d7c3eb?d=mm

    sophiared

    Jan 02, 2019 09:26

    It is really very common as well as frequent issues on any Android-based platform that at any sudden time it may crash due to the specific reason. To overcome all these situations may consult with https://www.gmailtechnicalsupportnumbers.com/blog/how-to-fix-outlook-error-code-0x80070057/ that will provide an actual solution.

  2. 2bd7c7333f22b88433ddffb535d7c3eb?d=mm

    sophiared

    Jan 02, 2019 09:25

    It is really very common as well as frequent issues on any Android-based platform that at any sudden time it may crash due to the specific reason. To overcome all these situations may consult with https://www.gmailtechnicalsupportnumbers.com/blog/how-to-fix-outlook-error-code-0x80070057/ that will provide an actual solution.

  3. E52008cd03cfdbc243e1a46c75c38aeb?d=mm

    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.

  4. Eee46a7f944d21ec4a9c3a127c5a40bb?d=mm

    jakpeter

    Dec 07, 2018 21:07

    Yes, I have noticed this on my Android phone also and I have suffered a lot from this while installing an application on it, but, https://uaewebsitedevelopment.com/seo-services-dubai/ helped me a lot to overcome this situation and gives me the permission to install a native application on my phone.

  5. 837e032ccfb5489b7a510c4362fdbb2f?d=mm

    DeepikaAnaly

    Oct 11, 2018 08:54

    ~~ Removed spam ~~

  6. 775e132330e2f778faec62e508b7e7c6?d=mm

    infocampus

    Oct 03, 2018 11:48

    ~~ Removed spam ~~

  7. 6471886a20c882f31110b9171d924826?d=mm

    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)

  8. Efa9e6ca420f244f3aa01ce58ba265a0?d=mm

    tmars

    Sep 14, 2018 11:26

    Marked as fixed for 2018.2.8

  9. A37eb057040bb7e798b5adddcba37617?d=mm

    Martin_k

    Sep 14, 2018 08:23

    still not working in 2018.2.7f1

  10. 688ff282579b0f342885184f2b464761?d=mm

    registervisualstudio

    Sep 07, 2018 14:29

    Thank you for the feedback @EVALDAS_UNITY.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.