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
- [Android] [iOS] [UnityWebRequest] Requests with "UnityWebRequest" are open for SSL Proxying
- SetWindowsHookEx does not prevent Windows key input when Editor or Player Window is focused and Active Input Handling is set to “Input System Package (New)” or “Both”
- Crash on GetEffectiveBc7TextureCompressor() when loading and unloading all Assets in the Project
- Terrain Masks do not ignore the mipmap limit
- "Build And Run" the project for Web is allowed even though the directory for the non-default browser is not selected
Add comment