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
- Weird behaviour in TextMeshPro Link Example sample when hovering over single letters after hovering over a word
- RegisterValueChangedCallback is triggered when the Label of a TextField is changed
- Changing the Visual Element size moves it when two visual elements are close to each other
- Open Reference for Default Style Sheet asset redirects to missing page
- Undoing changes to Default Style Sheet does not show change until editor refresh
Add comment