Hey guys, I'm trying to debug an annoying crash to desktop, which has generated a crash.dmp for me. I opened VS from the Unity editor so it had access to the game assets, then opened the dmp from the file menu. I get the output in the screenshot below, but I'm not sure what I need to press or do to actually figure out what went wrong. I've tried the different Debug with.. options but they shoot out error messages and won't let me attach the GameAssembly.dll to it
#Trouble opening crash dump with debugger
1 messages · Page 1 of 1 (latest)
Is any of the stack visible if you try to do mixed/native debug?
Anyway the crash reason appears to be a stack overflow so if in your code that should be an easy fix
looks like this on native
this is mixed- I've been trying to point it to the GameAssembly.dll but it doesn't seem to want to select it
You should have or be able to open the normal debug stack trace window
do you know where I can find this? I'm not very familiar with the debugger
I dont remember if it requires symbols to work but that may be why its not working with the provided "GameAssembly"
should be in the window > debugging though that vs version looks to be a tad old
You may need a new build with "copy PDB files" enabled and/or dev build
argh
PDB files contain the debug symbols for windows binaries where as unix like usually embed them within the lib
Im not 100% if c# requires them to decode the stack but native languages do
alrighty, I think I'll leave it here then
and maybe send over a new build with this option enabled
it's a very rare crash, so I have no idea what's causing it
Is this using il2cpp?
yeah it is
ah then that explains it. Yea if you dont have the symbols you are shit out of luck
Pray you have the "backup this folder" and check for the symbol files in there
I do have access to it
You may be able to rebuild this version to get them back too
well, the ones on my desktop anyway
try copying it to be next to the dll
Normally when native binaries are build it will put the debug symbols in the same dir as the DLL