Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Saving error after creating a new game  (Read 667 times)

KCR

  • Lieutenant
  • **
  • Posts: 65
  • If it's not fun, why bother?
    • View Profile
Saving error after creating a new game
« on: November 24, 2021, 01:33:12 AM »

Good time of day to everyone! I installed a bunch of mods (something like 150), and after creating new game, when the last screen that tells that the game is saving appears, the game crashes and shows some error. Here is the logs, maybe someone can tell me what's wrong here?

1405956 [Thread-3] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving to ..\\saves/save_kekw_5214497571857607254...
1405957 [Thread-3] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving stage 2
1405958 [Thread-3] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving stage 3
1407439 [Thread-3] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Error saving game
1407439 [Thread-3] ERROR com.fs.starfarer.campaign.save.CampaignGameManager  - Failed calling method
---- Debugging information ----
message             : Failed calling method
cause-exception     : java.lang.RuntimeException
cause-message       : org.json.JSONException: JSON does not allow non-finite numbers.
method              : com.fs.starfarer.campaign.CustomCampaignEntity.writeReplace()
-------------------------------
com.thoughtworks.xstream.converters.ConversionException: Failed calling method
---- Debugging information ----
message             : Failed calling method
cause-exception     : java.lang.RuntimeException
cause-message       : org.json.JSONException: JSON does not allow non-finite numbers.
method              : com.fs.starfarer.campaign.CustomCampaignEntity.writeReplace()
-------------------------------
   at com.thoughtworks.xstrea
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4688
    • View Profile
    • GitHub profile
Re: Saving error after creating a new game
« Reply #1 on: November 25, 2021, 03:03:04 AM »

Some mod created an entity with an invalid location.

But with 150 mods, it's probably going to be hell to figure out which one, even if you know how to do a binary search.
Could try disabling any not-well-known mods first, I guess?
Logged