Search Issue Tracker
Fixed in 2018.1.X
Fixed in 2017.1.X, 2017.2.X, 2017.3.X
Votes
14
Found in
2017.1.0b9
Issue ID
922979
Regression
No
[Android] .NET 4.6 builds with any Stripping level crash on startup
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 (7)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.
swhays
Dec 22, 2017 19:11
This is still happening to me on 2017.3.0f3. Stripping disabled.
Cambesa
Dec 20, 2017 11:17
Also happens in Unity 2017.2.1f1 (64-bit), stripping level disabled.
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?
GilCat
Nov 09, 2017 11:23
Still happens on Unity 2017.3.0b8
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.