Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2017.1.X, 2017.2.X, 2017.3.X, 2018.1.X
Votes
0
Found in
2017.1.2p2
Issue ID
973052
Regression
No
[IL2CPP][Android] SEGFAULT crash when switching scenes with IL2CPP on Android
Steps to reproduce:
1) Open the attached project (OC link, 1.2GB) (use command line and '-buildTarget Android' argument when launching Unity).
2) Go to Menu > Btd6 > Dump Model and flatten materials and prefabs.
3) Enable and Unity IAP (update version, if needed) & Analytics through Services tab.
4) Build for Android.
5) Run on a device.
- Dismiss the 'PURCHASER.INSTANCE.ISINITIALIZED() == FALSE' prompt by tapping it.
6) Press 'START'.
7) Press 'CLEAR'.
8) Press 'PLAY'.
9) Press 'NEW GAME'.
10) Press 'MONKEY MEADOW'.
11) Press 'MEDIUM'.
12) Press 'STANDARD'.
The app crashes somewhere within libil2cpp.so library.
This does not happen when using Mono backend. The crash doesn't occur on iOS devices, even when using IL2CPP.
Notes:
Steps 2-3 only need to be done once, even if switching versions.
The project is compatible with Unity 2017.1 - 2018.1.
Case 962771 prevents from testing this project on Unity 2017.2 - 2017.3.
Reproduced on:
2018.1.0a7, 2017.1.2p3, 2017.1.0p4
Devices:
Samsung Galaxy S7 Android 7.0
Nexus 6P Android 8.0
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment