Unhandled Exception - Can't find the source, any tips?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By avencherus

Recently I’ve been getting an error near the start of my game, it seems like when very specific things happen at a percent time.

Godot stops working with nothing erroring in the console.

When I follow through the debug to Visual Studio it says the following:

Unhandled exception at 0x0… Access violation reading location…0x0…

How would I go about debugging this, what typically might be the culprit?

:bust_in_silhouette: Reply From: avencherus

After some hours of print lining, it seems it was a problem with a weakref(). Was halting without any error in the console.