Search Issue Tracker
Assertion logs in release build with ForceEnableAssertions are missing some stack frames
Steps to reproduce:
1. Open the project attached
2. Build it on Standalone with developer mode enabled
3. Run the built application
4. Press button "1"
5. Observe the text on the application
Results: a stack trace generated by user's custom class is generated first, followed by stack trace of Unity, called by OnLogMessageReceivedThreaded(string, string, LogType)
OnLogMessageReceivedThreaded has fewer stack frames than the custom class (see attached "image1.PNG")
Expected: stack traces are the same.
Reproduced on versions: 5.5.2p2, 5.6.0f1, 2017.1.0a3
Reproduced using: iPhone 7 iOS 10.1, Xcode 8.3 beta; Samsung Galaxy S6 Edge, Android 6.0.1, macOS 10.12
Could not reproduce on: 5.4.5f1 (can't downgrade)
User has created Editor script for building to iOS and Android with ForceEnableAssertions flag. Use it for testing on iOS/Android builds
On android build the stack trace returned by OnLogMessageReceivedThreaded(string, string, LogType) is completely empty, while user's custom class returns the same path as in iOS
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- Typing Asian characters inside an InputField then changing its text throught the Inspector freezes the InputField
- Scene is set dirty immediately after opening it
- [iOS] Black screen using procedural texture
- Copying from one timeline, pasting to another, and then deleting the first timeline also deletes pasted content in the second
- [Mobile][IL2CPP][.NET 4.6] Casting decimal type to double returns incorrect value with IL2CPP and .NET 4.6