I have a first playable demo of my game ready to send out to a few testers for feedback - but when I export a release build the game randomly crashes. It works fine in editor, and fine when exporting to a debug build - the issue only happens in release.
I have no idea how to track this down. I have no errors in the editor (I even cleaned up all warnings so it runs with zero issues that I know of) - but the Release build crashes every time. I vaguely know the repro steps for the crash, but without further data, I'm having problems debugging.
So, any ideas on what one does in this situation? If I could get it to crash in the debug build - I still wouldn't know what to do as there doesn't seem to be any logs generated?
Cheers for any help!
EDIT: More info:
I had an engineer friend take a look and he noted that an invalid memory call was causing the issue - possibly from a null reference. He then figured out I could turn on verbose logging (by running the exe from a cmd prompt and using -v).
Now the problem is when using -v, it won't crash. Without logging, it crashes. Same executable.
What could cause that?