Thanks scratchminer.
I thought I had a buffer issue because I could see some expected outputs when my game crashed.
It turns out the crash was for some other reason so I'm not even sure there is a buffer for prints anymore.
This is the actual issue: Help with error e0 - #6 by optimusdag
Cheers!