How do you get stack trace building with IL2CPP?

We collect log by Application.logMessageReceived and send them to a log server.
It work well in mono with stack trace.But it work in IL2CPP without stack trace infomation.
I saw a note which say

  • Android: Added support for managed stack traces on Android with IL2CPP.

in 5.6.0 release notes.
But I try 5.6.0 still without stack trace information in IL2CPP build version.
Any suggestions?

Indeed, managed stack traces should be working with IL2CPP on Android. Can you submit a bug report for this issue? I’m unsure why this would not work.