- Home /
Question by
tuf91497 · Feb 01, 2019 at 10:44 PM ·
scripting problemmemorydebugdebuggingmemory management
How can I track disassembly code back to a script?
My game keeps crashing when I try to build and run it, despite running fine in the editor. The exception thrown by VS is:
Unhandled exception at 0x00007FF9B650CD1C (UnityPlayer.dll) in Visualizer.exe: 0xC0000005: Access violation reading location 0x0000000000000000.
Which leads to the disassembled line of code
00007FF9B650CD1C add rax,qword ptr [r8]
So I suspect that somewhere in one of my scripts I've made a memory management error like leaving a variable uninitialized or something. I have a ton of scripts in my project, so it would be a real pain to try going back through all of them.
Is there a way that I can track this assembly code back to a specific script in my project? I'm very bad at this level of debugging, so thank you for your help.
Comment