I’m having an issue where Unity Editor constantly crashes. It’s been happening for months and I’ve tried everything I can think of. It NEVER crashes when I play or run the game. Error logs show something different every time, I usually get a KERNELBASE.dll issue (which I have refreshed multiple times) or more commonly a ‘missing stack trace’ that I can’t follow. I also can’t send a bug report as that crashes, or creates a 6GB+ bug report file txt that I have to find and delete manually.
It seems to crash when I:
Edit something in Unity Editor (more commonly with a lot of UI elements)
Edit code in Visual Studio
Play the game
Exit the game
Compile code from Visual Studio
Check social media
Sneeze (seriously, I could have Unity minimised and it crashes)
But weirdly, never at runtime. Builds build and play fine. I avoid while and for loops for obvious reasons; the two for loops I use in the entire code base have fail safe utilities to break out of potential infinite loop situations. Packages are all up to date, I’ve uninstalled and re-installed Unity…etc
Anyone any ideas?