Standalone/Packaged game crashing, How to debug it?

Hello all!

My standalone game (packaged one) is crashing randomly. I have been working in PIE for months and the game NEVER crashes. Just only standalone and random >_<

I have 0 experience debugging an “out of solution-external” executable in Visual studio. Anyone can explain with detail or link to detailed documentation about how to debug an standalone packaged game?

Thank you!

Hello!

A couple of things you can do:

  • Create UE_LOGs where you could be suspecting the crashes/checks for things being in check
  • Ensure null checks have been made where the crash could be happening
  • Ensure Array length checks where the crashing could be happening
  • Package in development mode so when it crashes, it should dump a crash log in the package build files

Hope this helps a slight bit.