Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2018.2.X
Votes
1
Found in
2018.2.0b10
Issue ID
1068657
Regression
Yes
[IL2CPP][iOS] Crash in "il2cpp::os::Image::Initialize() [inlined] il2cpp::os::Image::InitializeManagedSection() at Image.cpp:81"
Reproduction steps:
1. Download and open the project from the provided link in the description ("Project Zip").
2. Go to "Build > Build iOS framework".
3. Wait for build to finish.
4. Go to the project directory and open the built project (size-test/Builds/iOS/framework-test).
5. Build it to an iOS device.
Actual behavior:
- Crash.
- Full call stack attached in the edit below.
...
* frame #0: 0x00000001019c6074 STF`il2cpp::os::Image::Initialize() [inlined] il2cpp::os::Image::InitializeManagedSection() at Image.cpp:81 [opt]
frame #1: 0x00000001019c6050 STF`il2cpp::os::Image::Initialize() at Image.cpp:89 [opt]
frame #2: 0x00000001019f2218 STF`il2cpp::vm::Runtime::Init(filename="IL2CPP Root Domain", runtime_version=<unavailable>) at Runtime.cpp:140 [opt]
frame #3: 0x00000001013e36e4 STF`::InitializeIl2CppFromMain() at MonoManager_Il2Cpp.cpp:257 [opt]
frame #4: 0x00000001011943a0 STF`::UnityInitApplicationNoGraphics() at LibEntryPoint.mm:177 [opt]
...
Reproduced with:
iOS
2018.2.0b10, 2018.2.3f1
Not reproducible with:
2018.2.0b9
Used device:
iPhone 7+ iOS 11.1.1 (not important)
Note:
- User investigation points towards a change made to engine initialization made between June 19 (Built from '2018.2/staging' branch, Version '2018.2.0b9 (3b5ad740cdc8)', Build type 'Release', Scripting Backend 'il2cpp') and June 26 (Built from '2018.2/staging' branch, Version '2018.2.0b10 (4bc57476174c)', Build type 'Release', Scripting Backend 'il2cpp') that got pulled into the 2018.1 release branch between July 6 and July 13.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Readme” Asset is unreadable in the Inspector window when switching Editor Theme to Light
- “NullReferenceException” error thrown when switching Editor Theme to Light if “Unity Version Control” tab is enabled
- A Warning is displayed in the Inspector when a Mesh with any Material is added as a Terrain Detail
- [Android][Vulkan] Memory leak when playing and stopping a video using the Video Player on some devices
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
Add comment