I occasionally get a crash report titled “Native Crash - KiUserExceptionDispatcher”. This comes from random users, generally people playing a free demo of my game, not anyone I’m in contact with.
The stack trace shows the crashed thread, but I struggle to find any way I can approach this to try to diagnose the problem.
Does anyone have experience with crashes like this? Any advice on trying to prevent them from occurring?
Maybe I’ll just use this thread to collect all of this sort of error, though it may get obnoxious. Again, these aren’t errors I can reproduce in any way. They’re occurring on random users’ machines, and submitted to me via Unity’s crash reporting, so I have no direct contact with the players getting these errors.
And again, I’m posting this in hopes of understand if there’s anything I can do about errors like this. (By the way, submitting a bug report to Unity won’t help. I’ve done that before, and they won’t be able to do anything if a sample project isn’t attached with a reproducible test case.)
Hey dgoyette, did you already gain a better understanding of the crash?
I have had this problem for a few months already and still can’t find out where it comes from.
What platform do you use? The application runs on Windows and it works together with Azure Kinect DK depth cameras.
Nope. I still have no idea what causes this type of crash. The actual stack traces always seem to be a bit different from each other, so this isn’t one crash, but a family of crashes that have similar, but different, stack traces.
I am now getting these kinds of crashes quite frequently. About once a day for every player. In what kind of project is this crash happening for you? Is it a game, or do you also make use of any other hardware?
The reports I get come from a game, generally running only on the Windows platform. I don’t recall seeing errors like this originating from Mac players, but with so few Mac players that’s not conclusive.
After a lot of researching, I found out that one of my systems had overheating issues, which caused BSOD’s. Since I fixed the overheating issue, I haven’t had the crash report anymore in the past two weeks.
I’m seeing these errors from time to time in the Unity crash report analytics system and are in two players that have these. Not exact same behavior, but still a hard crash with errors similar to this.
After researching, my guess, and it’s a guess for now, is that its due to old/low end graphics cards. At all, I have only seen these crashes on cards like:
Intel(R) HD Graphics 3000
Intel(R) Iris(R) Plus Graphics
Intel(R) HD Graphics
NVIDIA GeForce GT 240
NVIDIA GeForce GT 630M
Radeon RX 580 Series
Without being a hardware guy, it seems to be these are low-end/older graphics cards and that seem to be the common nominator in my case.
If I can actually do anything about it, I don’t know, but at least thats my findings, but don’t really have a hard proof.
I’m getting those crashes as well.
For me it’s 25 impacted users in the past 7 days.
Regarding the GPU theory, for me these have been affected:
NVIDIA GeForce GTX 1080
NVIDIA GeForce GTX 770M
NVIDIA GeForce GTX 1650 Ti
NVIDIA GeForce GTX 1050
NVIDIA GeForce RTX 3060 Laptop GPU
NVIDIA GeForce RTX 3050 Laptop GPU
NVIDIA GeForce GTX 1660 Ti
some of them don’t sound very low-end / old too me tough
It seems as this particular crash can have multiple reasons though.
If you look at line 12 of the crashed thread’s stack trace, there are different files / methods for all our examples.
For me it’s:
So for me at least, it seems that some exception in the textinputframework is not properly handled, which results in the hard crash.
The other stack traces in this thread so far do sound more graphics-based though, so maybe for those the gpu-theory holds up!
I am running into the same (or similar) issue. We are noticing it consistently occurs when players quit to desktop from a game mode but not from the main menu. Meaning we believe that it could be tied to the exit application call stack but only in high-stress situations (the crash game modes auto-save and go through some processes during quit). We are using the built-in render pipeline.
Stats:
Version: 2021.3.14f1
GPU: NVIDIA GeForce GTX 1080 Ti
I’m also seeing this crash frequently when players quit my game. I can’t exactly reproduce it, it seems completely random whether it crashes or not when closing the game. I’m using the C# Jobs system, the Burst Compiler, and VFX Graph quite a lot for some mechanics in my game, so I thought maybe my issue could be some asynchronous thing with these tools not clearing out properly or something. It’s just a shot in the dark though, as the crash report doesn’t seem to have any useful information to lead me in that direction