I’ve seen many threads where the problem has been that there are no stack traces on Android. However, we have an iOS Unity app with Performance reporting but we don’t get stack traces, at least in most cases.
For example, one of the errors that occur most often is: NullReferenceException: A null value was found where an object instance was required.
That was the ‘Message’, and ‘Stack trace’ is empty.
One type of the errors is simply with message: NullReferenceException
and no stack trace.
I tested it and unfortunately, having bitcode enabled doesn’t cause the missing stack trace issue to reproduce in my test project. If anyone out there has an iOS project that will reliably produce crash reports with empty stack traces, please submit a bug with your project attached.
As I see here is quite a lot of threads related to missing stack traces from iOS builds. And most of these threads end with @thomasn_unity post where he asking to share a project. But this issue seems to be really widespread. I doubt only a small fraction of projects are affected.
From my subjective experience affected builds are the ones distributed through App Store servers (both production and TestFlight builds).
Local builds deployed directly from Xcode seem to send full stack traces to Performance Reporting. But this is not enough. My local builds appear to be solid as rock and stable as f£%&. And all “fun” with crashed happens on end-user devices.
Hey I think I have the same problem, I started using performance reporting on my last update and I was hoping it would help out but I just get messages saying there was a null reference or something but no other information exept for the native stacktrace (which I don’t really understand ).
Is this how it’s meant to work? Or would you expect to see something similar to the console in Unity with a description of what might have triggered the crash.
Attaching photos of what I see in performance reporting. If I have bitcode on, I get zero information, and it just lumps any null ref error into one big bucket (first shot). With bitcode off, I at least get a short trace showing me the function where something went wrong (second shot).
Are you able to submit an xcode project that demonstrates the issue? I think Unity devs would really appreciate that because it’s been hard to repro this for them.