Search Issue Tracker

Status: Fixed

Votes

0

Found in

5.5.0f3

Issue ID

869696

Regression

No

[iOS][Xcode] Stack traces miss frames on iOS with IL2CPP and "Run in Xcode as" set to "Release

Mobile

-

-

Priority: 4Not yet prioritized for a release

-

Severity: 3Workaround is possible

Reproduction Steps:
1. Open "StackTraceTest" project
2. Open build settings
3. Set "Run in Xcode as" to "Release"
4. Build and deploy to iOS device
5. Press "Exception in Update" UI Button
6. Look into Xcode output console
7. Notice that Stack Trace is incorrect

Incorrect stack trace (StackTraceTest.OnExceptionInUpdateClicked should not be there):
TestException: exception in some method
at StackTraceTest.MethodY () [0x00000] in <filename unknown>:0
at StackTraceTest.OnExceptionInUpdateClicked () [0x00000] in <filename unknown>:0
at StackTraceTest.MethodX () [0x00000] in <filename unknown>:0

Reproduced on versions: Unity 5.3.7p4, 5.4.4p2, 5.5.1p2, 5.6.0b6
Reproduced on device iPhone 7 Plus iOS 10.2

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.