The game crashed while creating the game

I've had a lot of crashes recently when creating games with client, either DEV or release. The specific performance is: after I create the game FA will start, but before the game lobby interface is displayed, there will be a black screen, only the mouse (the system mouse, not the game mouse), and then the client will display the game crash please check the log message.
Every time this happens, I can fix it by restarting my computer. But this problem is still annoying, so here's my log.game_22792274.log game_22792241.log game_22792239.log game_22792340.log game_22792333.log game_22792330.log game_22792328.log game_22792277.log

@zhanghm18 First, I would suggest that if you're using Windows, then please go to FAF client > top left menu > Settings > Forged Alliance Forever > Use FAF Debugger when starting Forged Alliance > ✔ > click "Get the latest version of the debugger". This will create a more detailed log to assist with troubleshooting.

Second, I would say try playing a game with no mods. Disable them both in the client & if you do make it to the lobby, disable them in lobby > Options > Mods (or lobby > Mods). This will ensure that you're dealing with only the base FAF game & not anything else.

Third, I would go to client > top left menu > Show data folder > FAForever > gamedata, then delete both the effects.nx2 & effects.nx5 files.

Forth, go to client > top left menu > Show game.prefs file > cache, then delete the mesh.1.5.3809 file.

If you should crash again, then go to client > top left menu > Show logs folder > logs > sort by Date Modified & drag/drop the latest game_2xxxxxxx.log file (should be the one at the top after you sorted) into your post.

@mostlostnoob Thanks for your reply. I'll do what you say. But I've tried disabling all mods before and it didn't work. I will try to delete some files like you said.

@mostlostnoob said in The game crashed while creating the game:

"Get the latest version of the debugger"

Found a strange problem. If I check "Get the latest version of the debugger", the game never crashes when created. If I don't check "Get the latest version of the debugger", it's easy to crash. Does this mean something is wrong with the setup of my client? Or do I always have to check "Get the latest version of the debugger" for future games?

@zhanghm18 ¯_(ツ)_/¯

Offhand, it sounds like you might have a permissions issue. If you haven't already done so, try adding an exclusion/exception for the FAF Client in the active scan & firewall sections of their AV software & Windows Security.

That said, have you ever ran the client as Administrator?

@mostlostnoob I haven't run it in administrator mode. But I used to whitelist clients in antivirus software

@mostlostnoob I added the antivirus whitelist, but this problem still occurs. When I run the debuger, the game can be created; But when I don't run the debuger, the game still crashes at creation. This is loggame_22825688.log game_22825687.log

The following one is the log of running the debugger, which can normally create the game into the hall.game_22825681.log

When this problem occurs, even if I use the exe to enter the game directly, it will still crash.

It appears your computer has issues compiling the shaders:

info: Compiled shader: /effects/cartographic.fx
info: Compiled shader: /effects/frame.fx
warning: c:\programdata\faforever\gamedata\effects.nx5\effects\mesh.fx: unable to create effect: c:\programdata\faforever\gamedata\effects.nx5\effects\mesh.fx reason: unknown error

Did anything change to your setup? Or did you install (old) drivers recently?

A work of art is never finished, merely abandoned

@jip I didn't change the Settings. This problem cropped up some time ago (a few months ago). It's just that when I ran into this problem before, I could have successfully built a game if I had tried a few more times. But recently the problem has become more frequent. I'll check the driver, see if there's an update