Search Issue Tracker

Fixed in 2018.2

Fixed in 2017.1, 2017.2, 2017.3, 2018.1

Votes

19

Found in

2017.1.1f1

Issue ID

954427

Regression

No

[Android] Crash on builds with .NET 4.6 scripting runtime selected when null reference exception appears

Mono

-

To reproduce:

1. Download and open attached "Android_Net46_Bug.zip" project.
2. Build and run for android device.

Expected result: Application loads up correctly, without crashing.
Actual result: Application crashes instantly after it's loaded.

Reproduced with: 2017.3.0b2, 2017.2.0f2, 2017.1.1p3, 2017.1.0a6
Not reproduced on: 2017.1.0a5 - new .NET4.6 not present

Devices under test:

Reproduced with:
Lge LG H815 (G4)*, OS:6.0, CPU:arm64-v8a, GPU:Adreno (TM) 418,
Build:lge/p1_global_com/p1:6.0/MRA58K/1620215065b6f:user/release-keys

Samsung SM G800F (Galaxy S5 Mini)*, OS:6.0.1, CPU:armeabi-v7a, GPU:Mali-400 MP, Build:samsung/kminiltexx/kminilte:6.0.1/MMB29K/G800FXXU1CQA1:user/release-keys

Google Pixel*, OS:8.0.0, CPU:arm64-v8a, GPU:Adreno (TM) 530,
Build:google/sailfish/sailfish:8.0.0/OPR3.170623.007/4286350:user/release-keys

Not reproduced with:
HUAWEI EVA L19*, OS:7.0, CPU:arm64-v8a, GPU:Mali-T880,
Build:HUAWEI/EVA-L19/HWEVA:7.0/HUAWEIEVA-L19/C432B386:user/release-keys

iPad Mini 3 (iOS 10.3.2)

Notes: Calling "throw new NullReferenceException()" does not trigger the crash. If Scripting runtime version is set to Stable( .Net 3.5 Equivalent), everything works as expected. Does not happen when Scripting backend is set to IL2CPP.

Comments (13)

  1. 8b94b9228dc7bf8ee4bac59a23d6cccc?d=mm

    adamschule85

    Aug 07, 2019 07:42

    Some really nice and utilitarian info on this internet site https://games.lol/applist/keyword/marshmello-keep-it-mello-pad

  2. 5e61fe97d4d3a2ff5ccc6e04d07845da?d=mm

    reussitetechnologiees2019

    Aug 05, 2019 06:20

    How to buy Retail Software???
    https://www.vrssoftwares.com/retail-software/

  3. D46b8798bed045113a0633117384f004?d=mm

    JessicaDavies

    Aug 03, 2019 10:51

    Build and run for android device. Expected result. on builds with .NET 4.6 scripting runtime selected when null reference exception appears. For More Information Please Visit. http://www.printercustomerservice.co/

  4. 0a09cca99be4b4ca2108213703e4f3c9?d=mm

    PiterBarker

    Jun 03, 2019 11:02

    Thank you for posting such a great blog! I found your website perfect for my needs. It contains wonderful and helpful posts. Keep up the good work. Thank you for this wonderful Blog! for More Information Visit: http://www.emailcustomerservice247.com/block-emails-on-aol/

  5. 67c199f210135df74964a3cd615b545b?d=mm

    WilliamDavidson

    May 23, 2019 08:47

    I found the post to be useful, however, I am writing for the people who are facing issue with their Install AOL Desktop GOLD . Click this reference link http://www.aolsupport247.com/install-aol-desktop-gold/ and get the idea.

  6. B6292306c4948ef73cf705716426978b?d=mm

    lilly909

    Apr 17, 2019 09:55

    I noticed this bug in unity 2018.1.0f 2 and it was not fixed also checked https://emailsupports.net/yandex-mail-support/ but did not get any information regarding this bug.

  7. 6319914ce5bee6acdead3daecd59ad48?d=mm

    wikieden

    May 21, 2018 12:40

    This bug can be reproduce in some env, like if you are using universalmediaplayer plugin(which has a native library. if you are using this, null ref will make app crash with no hint in android.

    I have tried 2017.2.2p1, 2017.4.3f1,alll crashed, but all ok on il2cpp backend which is strange. And IL2CPP have lot's of other problems.
    Plz Fix it.

  8. B41b5e3cb65c31cb0bacd8c721b16ed0?d=mm

    CerberusInteractive-Morgan

    May 16, 2018 16:49

    This is apparent in unity 2018.1.0f2 ):

  9. 323ebc87c1d690288ce762b0415b72f8?d=mm

    chaosmaker

    Feb 26, 2018 11:25

    NOT fixed in 2017.2.1p4
    works ok in empty new project
    in our project we don't use 4.6 yet we are not able to see null ref exceptions or debug scripts... already 3 days late to ship android build...

    Please.
    Fix.
    This.

  10. 62254d0a8b502a7fc15f8fc0cbc19c18?d=mm

    Brandon-BBstudio

    Feb 09, 2018 06:07

    Not fixed on 2017.3.1f1

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.