build crashes first time then opens fine afterwards

every time i build the game and open for the first time it crashes and restarts by itself then works fine after that. upon the first open there is always a blue outline around the window. i am building exclusive fullscreen. any ideas on why?

Did you figure out what caused this?