Search Issue Tracker
Fixed
Votes
0
Found in
4.6.2p1
Issue ID
671495
Regression
No
IL2CPP: 3D array access generates code which segfaults on iOS
The attached project will, when built for iOS using IL2CPP, generate code which halts with EXC_BAD_ACCESS. Tested with Unity 4.6.2p1. Issue was presented while on-site with Zynga, an Enterprise Support customer.
Preconditions: Have an iOS device attached, have Unity 4.6.2p1 installed.
Reproduction Steps:
1 - Unzip attached "IL2CPP3DArray.zip" project and open in Unity 4.6.2p1.
2 - Ensure build settings are set to iOS using IL2CPP for the Universal build target.
3 - Build & Run project.
4 - Observe Unity build and postprocess project using IL2CPP
5 - XCode opens, builds project and deploys it to the device
6 - (EXPECTED) In the Xcode log, a Unity logline similar to "System.Single" appears.
6 - (OBSERVED) EXC_BAD_ACCESS thrown, project crashes. See attached screenshot & crash dump.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- Constant console errors when using Min/Max Slider in PlayMode
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
Add comment