FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Sudden Crash, Happened a Few Time

    Scheduled Pinned Locked Moved Game Issues and Gameplay questions
    15 Posts 5 Posters 662 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Rama
      last edited by

      Having random, rare, crashes where the game suddenly minimizes, the error log window opens, and the game is aborted.

      Here is the end of the log:
      warning: Error running OnDamage script in Entity xsl0301_advancedcombat at 86cada08: ...gramdata\faforever\gamedata\lua.nx2\lua\sim\unit.lua(5572): attempt to call method GetArmy' (a nil value) stack traceback: ...gramdata\faforever\gamedata\lua.nx2\lua\sim\unit.lua(5572): in function <...gramdata\faforever\gamedata\lua.nx2\lua\sim\unit.lua:5570> [C]: ? ...faforever\gamedata\lua.nx2\lua\sim\defaultdamage.lua(44): in function <...faforever\gamedata\lua.nx2\lua\sim\defaultdamage.lua:31> warning: Error running OnDamage script in Entity xsl0301_advancedcombat at 86cada08: ...gramdata\faforever\gamedata\lua.nx2\lua\sim\unit.lua(5572): attempt to call method GetArmy' (a nil value)
      stack traceback:
      ...gramdata\faforever\gamedata\lua.nx2\lua\sim\unit.lua(5572): in function <...gramdata\faforever\gamedata\lua.nx2\lua\sim\unit.lua:5570>
      [C]: ?
      ...faforever\gamedata\lua.nx2\lua\sim\defaultdamage.lua(44): in function <...faforever\gamedata\lua.nx2\lua\sim\defaultdamage.lua:31>
      warning: Error running OnDamage script in Entity xsl0301_advancedcombat at 86cada08: ...gramdata\faforever\gamedata\lua.nx2\lua\sim\unit.lua(5572): attempt to call method `GetArmy' (a nil value)
      stack traceback:
      ...gramdata\faforever\gamedata\lua.nx2\lua\sim\unit.lua(5572): in function <...gramdata\faforever\gamedata\lua.nx2\lua\sim\unit.lua:5570>
      [C]: ?
      ...faforever\gamedata\lua.nx2\lua\sim\defaultdamage.lua(44): in function <...faforever\gamedata\lua.nx2\lua\sim\defaultdamage.lua:31>
      info: Minimized true

      There are over 4000 instances of the "Error running OnDamage script" throughout the log.

      And here is the replay:
      https://replay.faforever.com/23129251

      1 Reply Last reply Reply Quote 0
      • R
        Rama
        last edited by

        A different replay, sudden crash, a few seconds after start. Gave the following error:

        warning: Evaluating LazyVar failed: error evaluating lazy variable: ...ver\replaydata\gamedata\lua.nx2\lua\maui\control.lua(38): call expected but got nil
        Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]

        Replay Here:
        https://replay.faforever.com/23136627

        1 Reply Last reply Reply Quote 0
        • R
          Rama
          last edited by

          Third replay, minimized and crashed.

          End of log:
          debug: Session time: 00:32:16 Game time: 00:44:25 Heap: 960.0M / 822.8M
          warning: Failed to load mesh for blueprint /mods/ai wave survival/projectiles/hardtorpedonanite/hardtorpedonanite_mesh
          info: CWldSession::DoBeat() unknown entity id (0x2ff0027e) supplied in a pose update.
          warning: Failed to load mesh for blueprint /mods/ai wave survival/projectiles/hardtorpedonanite/hardtorpedonanite_mesh
          warning: Failed to load mesh for blueprint /mods/ai wave survival/projectiles/hardtorpedonanite/hardtorpedonanite_mesh
          warning: Failed to load mesh for blueprint /mods/ai wave survival/projectiles/hardtorpedonanite/hardtorpedonanite_mesh
          warning: Failed to load mesh for blueprint /mods/ai wave survival/projectiles/hardtorpedonanite/hardtorpedonanite_mesh
          warning: Failed to load mesh for blueprint /mods/ai wave survival/projectiles/hardtorpedonanite/hardtorpedonanite_mesh
          warning: Failed to load mesh for blueprint /mods/ai wave survival/projectiles/hardtorpedonanite/hardtorpedonanite_mesh
          info: CWldSession::DoBeat() unknown entity id (0x2ff000af) supplied in a pose update.
          warning: Failed to load mesh for blueprint /mods/ai wave survival/projectiles/hardtorpedonanite/hardtorpedonanite_mesh
          info: Minimized true

          Replay:
          https://replay.faforever.com/23135805

          MostLostNoobM 1 Reply Last reply Reply Quote 0
          • MostLostNoobM
            MostLostNoob @Rama
            last edited by

            @rama The game logs for these games would be most helpful to attempt to diagnose the issue.

            R 1 Reply Last reply Reply Quote 0
            • R
              Rama @MostLostNoob
              last edited by

              @mostlostnoob

              1st Replay's Log:
              game_23129251.log

              Replay 1:
              https://replay.faforever.com/23129251

              2nd Replay's Log:
              game_23136627.log

              Replay 2:
              https://replay.faforever.com/23136627

              3rd Replay's Log:
              game_23135805.log

              Replay 3:
              https://replay.faforever.com/23135805

              MostLostNoobM 1 Reply Last reply Reply Quote 0
              • MostLostNoobM
                MostLostNoob @Rama
                last edited by

                @rama 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, You have a sound bug which you can tell by the SND/XACT warnings. Simple fix steps are:

                • Windows key > type: Control Panel > Open > Sound > Playback > select the Device you use:
                • Configure > Stereo > finish configuration,
                • Properties:
                • Enhancements > Disable all enhancements,
                • Advanced > 16 bit, 44100 Hz,
                • Spatial Sound > Off,
                • Restart or Shift+Shutdown (not just Shutdown) of PC

                If your headphones come with any applet/program, then you may want to disable that & try using the headphones without it. Similarly, if they use a USB or Bluetooth dongle to connect to the PC, see if you can connect directly without the dongle.

                See this thread for further troubleshooting: https://forum.faforever.com/topic/4084/solutions-for-snd-error-xact-invalid-arg-xact3dapply-failed

                Third, all versions of SCFA hates Alt+Tab or other things that take focus away while playing in full screen as indicated by the line info: Minimized true in your log, so if you're going to do that, then it's highly recommended that you play in Windowed (if you're not already doing so). There are programs like Borderless Gaming or scripts like one of the ones in this FAF forum thread to make the window fit the entire screen so it appears that you're playing in full screen even though you're not.

                Forth, after taking the corrective actions stated above, please try playing with all mods disabled in both the FAF Client & the in-game lobby to ensure that your base FAF game is working correctly. If you still crash with all mods disabled in both locations, then please post the new game log & replay# for those that can help to have for review.

                maggeM 2 Replies Last reply Reply Quote 1
                • E
                  ExLife
                  last edited by

                  Good afternoon, I ran into the same problem as in the post above, but I couldn't solve the problem. I also attach a log from FaF. The glitch itself manifests itself when I load the first mission of the campaign, either it doesn't let me in, or it throws me out of the game after a couple of minutes. Please help me!!!

                  Log
                  https://drive.google.com/file/d/1FjH2oXZ4scegFgsTOjlBP0b_WDvpDg7d/view?usp=drive_link

                  1 Reply Last reply Reply Quote 0
                  • maggeM
                    magge Global Moderator
                    last edited by

                    @ExLife Please attach the logs directly to the forum (You can drag and drop them into it, when you hit reply-button), the drive link is not accessible.

                    Join a FAFtastic Team

                    E 1 Reply Last reply Reply Quote 0
                    • E
                      ExLife @magge
                      last edited by

                      @magge game_0.log

                      E 1 Reply Last reply Reply Quote 0
                      • E
                        ExLife @ExLife
                        last edited by

                        Good afternoon, I ran into the same problem as in the post above, but I couldn't solve the problem. I also attach a log from FaF. The glitch itself manifests itself when I load the first mission of the campaign, either it doesn't let me in, or it throws me out of the game after a couple of minutes. Please help me!!!

                        1 Reply Last reply Reply Quote 0
                        • maggeM
                          magge Global Moderator @MostLostNoob
                          last edited by

                          @ExLife Try the following, then reproduce the issue and post the new log.

                          @mostlostnoob said in Sudden Crash, Happened a Few Time:

                          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.

                          Join a FAFtastic Team

                          E 1 Reply Last reply Reply Quote 0
                          • E
                            ExLife @magge
                            last edited by

                            @magge game_0.log FAF debag is on.png

                            I did as you wrote, but it still doesn't work when loading the saved game... I've already tried a whole bunch of things, but nothing helps, now I'm looking at similar topics in Discord, but I don't find any similar ones yet. The attachment contains a screenshot of the activated debugging and a log file.

                            1 Reply Last reply Reply Quote 0
                            • maggeM
                              magge Global Moderator @MostLostNoob
                              last edited by

                              I am not sure if loading a saved game works at all. However, the advanced log which you have provided indicates SND/XACT issues, try to fix it and then try to reproduce the issue again.

                              For now, I can only quote this amazing template:

                              @mostlostnoob said in Sudden Crash, Happened a Few Time:

                              ... You have a sound bug which you can tell by the SND/XACT warnings. Simple fix steps are:

                              Windows key > type: Control Panel > Open > Sound > Playback > select the Device you use:
                              Configure > Stereo > finish configuration,
                              Properties:
                              Enhancements > Disable all enhancements,
                              Advanced > 16 bit, 44100 Hz,
                              Spatial Sound > Off,
                              Restart or Shift+Shutdown (not just Shutdown) of PC

                              If your headphones come with any applet/program, then you may want to disable that & try using the headphones without it. Similarly, if they use a USB or Bluetooth dongle to connect to the PC, see if you can connect directly without the dongle.
                              See this thread for further troubleshooting: https://forum.faforever.com/topic/4084/solutions-for-snd-error-xact-invalid-arg-xact3dapply-failed

                              Join a FAFtastic Team

                              1 Reply Last reply Reply Quote 0
                              • N
                                Nomander
                                last edited by

                                The OnDamage error spam is from the "No Friendly Fire" mod. There is a fixed version by CatmanFS "No Friendly Fire + fix for log spam".

                                E 1 Reply Last reply Reply Quote 1
                                • E
                                  ExLife @Nomander
                                  last edited by

                                  @nomander Thanks for the advice, but it doesn't work. I tried to play with VAC, set it up and nothing happened. The game goes fine only if you run it with the /notsound command written in the shortcut, that's only then you can play normally, although without sound. I don't understand how others run the game so well and stream it on modern platforms... I also stung the sup*** file from the sound folder, they say there may be a problem because of it.

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post