The game crashed while creating the game

@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

@mostlostnoob Similar crashes have appeared frequently recently. I opened the debugger according to what you said, which is the loggame_23379917.log
game_23379926.log
Disabling all mods also has no effect and still crashes

The warning message before it crashes in both logs:

warning: c:\programdata\faforever\gamedata\effects.nx5\effects\particle.fx: unable to create effect: c:\programdata\faforever\gamedata\effects.nx5\effects\particle.fx reason: unknown error

Have not encountered such errors so far to know how to solve it, unfortunately.

Can you provide more info about your environment? Like PC/Laptop specs, which OS, newest drivers, newest Windows updates? Maybe it gives some hint to narrow it down.

Have you tried the "basic deeds" already like reinstalling FAF, Supreme Commander (files verification via GOG/Steam)?

@magge My computer is an Asus ROG laptop.
My operating system: Windows 11 22631.4169;
CPU: 12th Gen Intel(R) Core(TM) i9-12900H 2.50GHz;
GPU: NVIDIA GeForce RTX 3070 Ti Laptop GPU;
My GPU driver version is 32.0.15.6094 (latest driver in August this year)
I've tried reinstalling the game and it didn't help

Is it possible that the laptop uses its integrated GPU instead of the 3070 for SC and that causes some side effects/bugs? Also use window mode. You can test it by disabling the integrated GPU to narrow the issue down.

I can not find anything useful via Google or AI about the error, so as last resort you may re-install the OS and just go with FAF and SC. Not an optimal solution, but before you spend hours trying random "If I do x, then maybe it will work"-stuff ...

@magge I tried disabling integrated GPU and it didn't help.