magicbear / palworld-server-toolkit

PalWorld Server Toolkits - For Save file modify, list the players, repair sav file, etc...
MIT License
511 stars 60 forks source link

If you used Palworld-server-toolkit to trim containers prior to 1.5 you will get this lethal error on update #90

Open selfservice0 opened 4 months ago

selfservice0 commented 4 months ago
LowLevelFatalError [File:D:\works\repos\Pal_SVN\Pal-UE-App\Source\Pal\PalPlayerInventoryData.cpp] [Line: 1643] Cannot Get Container. C, UPalPlayerInventoryData::SetupInventoryMultiHelper_ServerInternal
lilggamegenius commented 4 months ago

It seems to be because of an assertion that's getting triggered. If we're getting assertion errors, that means the server binary they sent out is actually the debug version. The binary filename has "Test" in it which seems to line up.

The weird thing is on both my self-hosted linux server, and my local dedicated server (on windows), they both crash with that error. But the dedicated server that a friend of mine rents runs perfectly fine. Maybe they have a release build of the server somehow?

slas7877 commented 4 months ago

I got the same problem, too. 2 weeks ago, I used "Delete Unreference Item Containers" and "Del Damage Instance" with PalWorld Save Editor v0.5.3 to fix my dedicated server. And today after server update to 1.5.0, I can not start my dedicated server with same error below.

LowLevelFatalError [File:G:/works/repos/Pal_SVN/Pal-UE-App/Source/Pal/PalPlayerInventoryData.cpp] [Line: 1643] Cannot Get Container. C, SetupInventoryMultiHelper_ServerInternal

VYRNACH commented 4 months ago

I'm running self hosted and have been running those actions before the latest update but do not get any of these issues. Could you check how big is your level.sav?

lilggamegenius commented 4 months ago

The one i have is 13,807KB. Works on the rented server but not self-hosted like i mentioned before.

VYRNACH commented 4 months ago

if you're using the Steam (Store) client's dedicated server client, can you try the steamcmd's version? it shouldn't be that different but it's the only thing I can think of

slas7877 commented 4 months ago

I deleted over 30 days inactive players, and my dedicated server start normally with no errors.

Scyntrus commented 4 months ago

I'm also getting the same error. I ran "Delete Unreference Item Containers" last week to reduce my save file from 57MB to 17MB, but since the latest update I'm getting a crash loop with the same "SetupInventoryMultiHelper_ServerInternal".

The new version has fixes for the Unreferenced containers built in, so after rolling back to a version from before applying the fix, the save file after loading got reduced to 15MB.