Search Issue Tracker

Won't Fix

Votes

0

Found in

5.6.0b3

Issue ID

979639

Regression

No

Environment.StackTrace skips the top frame on 32-bit Windows players on IL2CPP

Windows

-

This affects both Standalone Player and UWP.

Why won't fix: This happens because the Visual C++ compiler does not emit function prolog to save old "ebp" and put "esp" (where the caller address is) into "ebp" in Environment.get_StackTrace. That makes CaptureStackBacktrace Windows API not see the caller of Environment.Stacktrace. Since we don't control the codegen for Microsoft's compiler, we can't really fix it.

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.