Search Issue Tracker

Active

Votes

12

Found in

2017.1.0b9

Issue ID

922979

Regression

No

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

Mono

-

-

Priority: 4Not yet prioritized for a release

-

Severity: 1Crash or major loss of functionality

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)

Comments (5)

  1. 6f01b62e8549812e65d22d43cd734c5c?d=mm

    swhays

    Dec 22, 2017 19:11

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

  2. E22d1f0ec2717350c9b76a9af736d8f2?d=mm

    Cambesa

    Dec 20, 2017 11:17

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

  3. 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?

  4. F80d2e987fc86920d445859632db3f9e?d=mm

    GilCat

    Nov 09, 2017 11:23

    Still happens on Unity 2017.3.0b8

  5. 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.

All about bugs

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