Palworld server crashes error exit code 3

OS Name/Version: windows 10

Product Name/Version: (Always use the full version number - not ‘Latest’) palworld v0.7.3.90464

Problem Description:

i started a palworld server about 1 week ago and for some reason it keeps crashing. it seems to be happening when players join or leave the server. it doesnt happen all of the time when someone joins but if people keep hopping in and out it can happen a few times an hour.  i have tried updating amp and checking around to see if anyone brought over modded pals(creatures) with them to my server that could corrupt something.i found the amp logs that got saved locally to my pc and it says "The application stopped unexpectedly. Exit code 3". below is part of the log that shows the error and it keeps repeating the same thing when the error happens.

[13:58:37] [Generic Warning/48]   : The application stopped unexpectedly. Exit code 3
[13:58:37] [Generic Warning/48]   : Application failed to start 2 times, not restarting.
[13:58:47] [Core Warning/27]      : Trigger 'Event.GenericModule.StateChanged' fired while already executing — duplicate firing dropped.
[13:58:47] [Core Warning/27]      : Trigger 'Event.GenericModule.StateChanged' fired while already executing — duplicate firing dropped.
[13:58:47] [Generic Info/7]       : Merging config file ./palworld/2394010/Pal/Saved/Config/WindowsServer/PalWorldSettings.ini (Template) using Unicode (UTF-8) encoding.
[13:58:47] [Generic Info/45]      : Merging config file ./palworld/2394010/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini (Template) using Unicode (UTF-8) encoding.
[13:58:47] [Generic Warning/27]   : Tried to merge config file ./palworld/2394010/Pal/Binaries/Win64/UE4SS-settings.ini but the file does not exist.
[13:58:47] [Generic Warning/27]   : Tried to merge config file ./palworld/2394010/Pal/Binaries/Win64/ue4ss/UE4SS-settings.ini but the file does not exist.
[13:58:47] [Generic Warning/27]   : Tried to merge config file ./palworld/2394010/steamapps/workshop/content/1623730/3625223587/UE4SS-settings.ini but the file does not exist.
[13:58:47] [Generic Info/27]      : Writing config file ./palworld/2394010/Mods/PalModSettings.ini using Unicode (UTF-8) encoding.
[13:58:47] [Core Warning/27]      : Trigger 'Event.GenericModule.StateChanged' fired while already executing — duplicate firing dropped.
[13:58:47] [Core Warning/27]      : Trigger 'Event.GenericModule.StateChanged' fired while already executing — duplicate firing dropped.




Steps to reproduce:

  • Step 1 someone joins the server
  • Step 2 sometimes server crashes
  • Step 3

Actions taken to resolve so far: updated amp/server instance, moniored my cpu/ram usage in case it was my pc.

I had the same issue, and it seems there is problem with the autosave. I tried to increase the interval from default 30s to 30m but still crashing.

I had a similar issue and I hadn’t played in a good while. I wanted to update my post with my path to different fixes but I can’t because no one replied. I would like to post my fixes into my post for documentation and history. My post can be found here if someone can reply there. Startup Issue with Palworld - Palword Startup issues after not launching in many years .

These were my fixes to my server.

Just replying to my own issue. So I had multiple issues at once. At first I got a 0x2 error. Then I got a “The application stopped unexpectedly. Exit code 3”. Afterwards I got a “ERROR! Failed to install app ‘2394010’ (Missing configuration)”. And finally, “Error! App ‘2394010’ state is 0x6 after update job.”

I am just going to list what I did to fix things one by one as I moved forward to fixing my overall issue.

  1. AMP didn’t actually update. I had to use the update instructions to get that going. That was my initial issue with 0x2. It sounds like 0x2 generally seems to be a storage/space issue. I needed more space in the drive to be able to update AMP. Once I got more space on my VM, I followed the update instructions.
      1. I had to open up CMD and then run the commands listed in section 2.2 for Windows. How to update AMP to the latest version
      2. I also turned off “Enable Multi-Threaded Performance Improvements”. Removed the toggle for this.
      3. Lastly, I messed with UE4SS as mentioned in this video. I believe this issue is fixed by CubeCoders developers but i didn’t realize this until afterwards and still followed it. https://youtu.be/HAjtCKYAN-o
  2. “The application stopped unexpectedly. Exit code 3” - I tried to start the server again after the above and I am not sure what fully fixed this issue but I saw a few posts in the discord that this was due to c++ redistributables.
      1. I downloaded c++ redistributable x86 and x64. Restarted afterwards. I ran the update afterwards on the instance, it did fail.
      2. I also saw another post that mentioned that this is due to save corruption which I found stated in the following path for CrashContext.runtime-xml. I had a saved backup from 9 months ago that I restored to and restored through the AMP Backup page. Your file path to the may different from my tatertot path since that is the server instance I made. C:/AMPDatastore/Instances/TaterTotsCattyHole/palworld/2394010/Pal/Saved/Crashes/UECC-Windows-4F525CDA4249F497B65D40A3AFDFB07A_0000/CrashContext.runtime-xml
  3. After running through #2, the next error was “ERROR! Failed to install app ‘2394010’ (Missing configuration)”.
      1. This one I tacked by deleting the steamapps folder. Your path may differ from mine.
      2. C:\AMPDatastore\Instances\TaterTotsCattyHole\palworld\2394010\steamapps
  4. Step #3 did fully help me but it did lead me to a new error which was 0x6 which now led me to find out that the appmanifest files can be corrupted. I found mine in the steampapps folder above and just renamed them to .old. example below.
      1. There were three files and 2 different locations. First one is C:\AMPDatastore\Instances\TaterTotsCattyHole\palworld\2394010\Pal\Binaries\Win64\steamapps\appmanifest_1007.acf - This was renamed to .oldappmanifest_1007.acf
      2. Second location is as follows. This one may actually have multiple listed in this directory. I did the same to all of them listed here. C:\AMPDatastore\Instances\TaterTotsCattyHole\palworld\2394010\steamapps\appmanifest_228980.acf - Renamed this to .oldappmanifest_228980.acf
  5. Lastly I restarted the computer. Launched AMP. Launched TaterTotsCattyHole. Went to the instance and then the console and verified that no errors came up this time around. Server launched and it didn’t stop like it was previously.

I hope this helps others coming across the same or similar issues.