Search Issue Tracker

Won't Fix

Votes

1

Found in

5.5.1f1

Issue ID

892260

Regression

No

Assertion logs in release build with ForceEnableAssertions are missing some stack frames

Scripting

-

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

Notes:
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

  1. Resolution Note:

    This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this fix for the time being. We understand that this will cause problems for some users, and so may address in a future version.

Comments (5)

  1. drfaiisalaa

    Jan 27, 2023 09:15

    Seeking professional help with writing your essays is a wise idea. However, students should use the provided essays to improve their skills and adjust the essays to their needs.
    custompaperswritinghelp.com/dissertation-writing-coaching-service/

  2. elliesmith

    Aug 26, 2020 07:26

    Get quick answers from the top expert for the step-wise Finance Solution Manuals. CFS provides best deals which will help you gain trust for the portal and you will easily be able to get your solutions. Visit: https://www.crazyforstudy.com/textbook-solutions-manuals/business/finance

  3. SatSale

    Aug 16, 2020 15:51

    If the novice can do the above two points well in the first three months, and at the same time make a little adjustment and control in the diet, the body will obviously undergo good changes. At that time, new specific problems will arise, and then a new fitness plan will be developed to take it to the next level!
    https://saturdaysale.com/steel-bite-pro/
    https://saturdaysale.com/biotox-gold-review/
    https://saturdaysale.com/speechelo-review/
    https://saturdaysale.com/meticore/
    https://saturdaysale.com/

  4. lindsey908

    Jul 23, 2020 15:13

    I have followed the guidelines you have shared above and am very grateful. You should consider adding live chat to your website in order to be able to offer better assistance.
    https://thesis-capstonewritingservices.com/
    https://customessaywritershub.com/rewriting-service/
    https://professionaldataanalysishelp.com/

  5. Deepscorn

    Sep 09, 2017 23:50

    I did some more tests and found out, that not only Assert.IsFalse may lose frames, but even exception caught by Unity Framework may be reported with missing frames too. I tested in both editor and android device release build: http://deepscorn.blogspot.ru/2017/05/why-unity-may-lose-frames-in-stacktrace.html

Add comment

Log in to post comment

All about bugs

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