Jump to content

Game freezing on saves and performance getting worse


Tazooka
 Share

Recommended Posts

I'm noticing that the more I play, the worse the performance of the game becomes, especially when I save, both automatically and quick saving

I only have 7 ships on the go currently and a limit of 100 debris

I don't understand how its becoming worse and I don't know how to fix it. Deleting saves did nothing

I have noticed Unity crash handler appears in my task manager when this freeze happens.

Link to comment
Share on other sites

Update: I tried undocking and re-docking my Mun Station and it crashed

crashed.png

I waited for it to load for several minutes but it never did...

Link to comment
Share on other sites

Posted (edited)
11 hours ago, B15hop said:

This is why most likely. This may help you.

 

That's it. My saves are 0.55GB and has 19,240,801 lines of code, which most is duplicated

I reduced it down to 4.4MB with 103,316 lines of code (so I deleted 19,137,485 lines of code)

This REALLY needs fixing

Edited by Tazooka
Elaborated
Link to comment
Share on other sites

1 hour ago, Tazooka said:

That's it. My saves are 0.55GB and has 19,240,801 lines of code, which most is duplicated

I reduced it down to 4.4MB with 103,316 lines of code (so I deleted 19,137,485 lines of code)

This REALLY needs fixing

Excellent, I am glad it helped. :)

Link to comment
Share on other sites

I personally think that Squad's original XML-saves idea was good only for testing stage - both XML and JAML are awful for the cases where there is expanding data specifically because to keep them "human-readable" you need to do things like <QuantityOfFoodRationsOnboard>1</QuantityOfFoodRationsOnboard>, so out of 63 bytes - only 1 is data and 62 are human-readable nonsense. It seems much more logical to switch to efficient and fast binary data serialization (and have like 10kb - 50kb saves at most which would save and load lightning-fast)  and if community of players would really really need savegame editing feature - to release a standalone tool which would allow for editing binary savegame data (or leave that to moders).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...