[Crash] Packaged Game Crash : Assertion Failed

Attaching a screenshot of the problem when I try to open up the packaged game. Playing in engine works though

For anyone interested, I found out the problem to be that the game instance class in project settings was null, changing it to my game instance work.