Search Issue Tracker

Fixed in 2018.3

Fixed in 2018.2



Found in



Issue ID




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)

Comments (23)

  1. A8356e557f4162b6e7757f7a43fbc23e?d=mm


    May 22, 2020 17:18

    When you decide to buy a new digital notepad, consider what you need. For example, if you are going to be carrying the product around a lot, you might want to find a thicker pad. This is especially true if you find yourself typing a lot on it. It will be difficult to write a large amount of text on a thin pad.

  2. 5856ebd80d07bcd5698b00a53999dbbb?d=mm


    May 22, 2020 12:23

    Yahoo Chat Room
    Yahoo is the second leading search engine used by worldwide internet users. It fulfills every purpose for which it has been introduced and developed, whether it is for mailing or for chatting. This is the reason for which millions of people started using it within a short period of time. Previously, when Yahoo internet services secure its position on the top-list, some of its remarkable services like Yahoo Chat rooms and Yahoo Messenger have gained popularity all around the world. These online chatting zones offer ultimate fun to its users with various chat options.

  3. 3e9f3ec8a59dfb41026d02ef2dfbb170?d=mm


    May 16, 2020 11:34

    This is an SEO expert, if anybody needs services of SEO at cheap price please feel free to contact me. I will rank your website in minimum time duration. Regards It can be crucial to know that you will be letting your movements.<a href="">Affordable SEO Company in Dubai</a>

  4. 28f36019708dba5ed7d2a3d77b5950b6?d=mm


    Apr 16, 2020 06:41

    still not working in 2018.3.10f

  5. 4c56ee5a31080d6b89b4d50313d4972d?d=mm


    Feb 03, 2020 06:51

    I found this is an informative and interesting post, so i think it is very useful and knowledgeable.

  6. E52008cd03cfdbc243e1a46c75c38aeb?d=mm


    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.

  7. 6471886a20c882f31110b9171d924826?d=mm


    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


    Sep 14, 2018 11:26

    Marked as fixed for 2018.2.8

  9. A37eb057040bb7e798b5adddcba37617?d=mm


    Sep 14, 2018 08:23

    still not working in 2018.2.7f1

  10. 688ff282579b0f342885184f2b464761?d=mm


    Sep 07, 2018 14:29

    Thank you for the feedback @EVALDAS_UNITY.

Add comment

Log in to post comment

All about bugs

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