Packaged game display black screen only even though game default map has been changed

Hi there

I have recently packaged our game. The game default map has been updated to reflect our level map. However, when I launch the installer to play the game, the screen remains black. I have exhausted all avenues to try and identify what I might be doing wrong, but have had no success thus far. Does anybody know what might cause this to happen?

Thanks

Hello,

If you use the console command (press ~) open yourmapname

Do you see the console? Does your map open?

1 Like

Hi there, and thanks for responding. I am sorry but I am not quite sure what to do. I have tried using the tilde key and then typing the name of our map but nothing happens. should I be typing tilde key and then add open [yourmapname]?

Thanks for your help with this one.

Yep, press Tilde then type open yourmapname (no parenthesis, quotes or anything). You could try packaging another map and opening that to test functionality.

Taking a step back (this might not be a packaging issue) - If you select “Standalone Game” from the Play Dropdown in editor - do you also see a black screen?

Hi, yes I do. When I launch standalone game, the screen also remains black.

Ok, so that sounds to be less like a packaging problem and more like something with GameModes / Pawn Possession.

Sanity Check: Your game plays as expected when you “Play” In Selected Viewport? (Alt + P)

Also - You’re able to see the level in “Lit” mode?

Hi, yes and yes, that all works fine.

Hm, I’d try experimenting with the Game Mode / Default pawns / Player Starts (both in World Settings and Project Settings)

You can double check what pawn is currently possessed when playing with debug command “showdebug input”

(Location values in this debug panel would also be something to pay attention to)

Thanks, I will take a look and let you know if this fixes the problem.

I posted this answer in another post but I know how much I searched for this too and will post it here too.

For me, what worked in fixing the black screen was turning Anti-Aliasing from None to TemporalAA in the Projects Settings-> Rendering section.

when i’m in the editor, everything seems normal when I press play, but when I launched my game, I played it and the only thing that came up was a black screen. I tried playing another game that I launched and it worked perfectly.