Search Issue Tracker

Fixed in 2018.1

Fixed in 2017.1, 2017.2, 2017.3

Votes

14

Found in

2017.1.0b9

Issue ID

922979

Regression

No

[Android] .NET 4.6 builds with any Stripping level crash on startup

Mono

-

Builds for android with NET 4.6 and any Stripping level (Strip assemblies, Strip Byte Code, Use micro mscorlib) crash on startup

How to reproduce:
1. Open user provided project
2. Make sure .NET 4.6 is selected (Project settings)
3. Make sure Stripping level is set (Project settings)
4. Build and run to Android device
-- App crashes before the splash screen

Reproduced on: 2017.1.0a6, 2017.1.0f1, 2017.2.0b1
Not reproduced on: 2017.1.0a5 - new .NET4.6 not present
-- Introduced together with new .NET

Top of android backtrace
#00 pc 00049e44 /system/lib/libc.so (tgkill+12)

Fixed in: 2017.1.2p4, 2017.2.1p1, 2017.3.0b11, 2018.1.0a6

Comments (6)

  1. 1cd3e654a040b8abb7c686d8eb50feb3?d=mm

    mobilizAR

    Feb 28, 2019 13:11

    This issue is happening to me on 2018.3.0f2 for devices running Android 7.0. So it hasn't been closed/fixed. Please look into it again. Using NET 4.6 and Stripping is disabled.

  2. 6f01b62e8549812e65d22d43cd734c5c?d=mm

    swhays

    Dec 22, 2017 19:11

    This is still happening to me on 2017.3.0f3. Stripping disabled.

  3. E22d1f0ec2717350c9b76a9af736d8f2?d=mm

    Cambesa

    Dec 20, 2017 11:17

    Also happens in Unity 2017.2.1f1 (64-bit), stripping level disabled.

  4. 6f01b62e8549812e65d22d43cd734c5c?d=mm

    swhays

    Dec 15, 2017 13:39

    I was told that this is a duplicate of: https://fogbugz.unity3d.com/default.asp?934463_9i9as35eoku6okap but I've never changed the Stripping option and I apparently have always had it disabled. Are there two bugs at play here?

  5. F80d2e987fc86920d445859632db3f9e?d=mm

    GilCat

    Nov 09, 2017 11:23

    Still happens on Unity 2017.3.0b8

  6. B7c29b0df0da66b968cc712e70095119?d=mm

    Nimbuster

    Jul 17, 2017 19:29

    Happens for me in 2017.1.0f3 when building an empty project, even after setting Stripping Level back to Disabled. I have to restart Unity for stripping to actually be disabled. I'm not sure how incremental building works, but I deleted the target directory and built a new APK, and it still crashed on startup.

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.