Game frequently crashes when deleting transport related entities

This topic is closed (tagged ).
16 days ago

I'm using a total of 11 mods on a custom map I made myself (based on the Island Hopping map published here) and a few days ago the game started to sometimes crash when I was deleting belts, pipes or rail tracks. Since then this has worsened to where I'm barely able to play for a few minutes between crashes.

I tried to isolate the problem, but loading a different save (on a different map) and loading the same 11 mods did not show the same problems.

So I threw the log to ChatPGT and it thinks that Cheat++ and/or Gameplay++ are the most likely culprits.

Here's some of what ChatGPT said:

The critical findings

1. GameplayPP is already throwing errors during prototype registration

These are not harmless warnings:

GameplayPP.HeavyHaulerData.RegisterData
GameplayPP.DistrictHeatingData.RegisterData
GameplayPP.WarehouseData.RegisterData
GameplayPP.PipeSorterData.RegisterData
GameplayPP.MoltenStorageT2Data.RegisterData

All of these produce:

Value of int is -21, expected not negative.

That means the mod is registering invalid research/prototype data into the game.

This is a very strong indication the mod is not fully compatible with your game version (0.8.4b). The game continues loading, but internal data integrity is already compromised.


2. GameplayPP has broken/missing assets

This is especially important:

Failed to get prefab for transported product
'ParkVehicle_TruckHeavyHauler (unit)'

and:

Asset '' (GameObject) was not found in any bundle

That means:


  • the mod defines entities/products

  • but their Unity prefab references are invalid or missing

That is very dangerous for entity lifecycle handling.


3. GameplayPP_BridgePortHost has an empty prefab path

This line is another red flag:

Skipping empty prefab path of proto 'GameplayPP_BridgePortHost'

This directly ties into the later crash location:

GameplayPP.BridgeTransportManager.TickHostIO

So the system crashing later is already malformed during initialization.

That is probably not coincidence.


4. The actual crash is still caused during transport splitting

The final crash sequence:

TransportsManager.cutOutTransport
→ CheatPP.VehicleStatsPatch.ApplyToLiveEntities

means:


  • deleting belts/pipes/rails causes transport splitting

  • a new transport entity gets created

  • CheatPP reacts to entity-added events

  • GameplayPP bridge transport code is simultaneously iterating entities

  • iterator corruption occurs

It would be awesome if you could take a look at it.

Attached are the log that I gave to ChatGPT and my latest save.

2 attachments only for registered users
16 days ago

You want to be careful with ChatGPT (or other generative AI) analysis. It can be right... but it can also be confidently dead wrong. The save contains a full listing of all installed mods, right? Just in case it's a mod conflict? I've had an apparent conflict between two mods, or crash of a specific mod, be caused by a third which didn't show up in the error reports, despite creating the crash situation in the first place. Not with CoI, admittedly, I don't play modded...

👍 1
15 days ago

SDHarkon wrote:

I'm using a total of 11 mods on a custom map I made myself (based on the Island Hopping map published here) and a few days ago the game started to sometimes crash when I was deleting belts, pipes or rail tracks. Since then this has worsened to where I'm barely able to play for a few minutes between crashes.

I tried to isolate the problem, but loading a different save (on a different map) and loading the same 11 mods did not show the same problems.

So I threw the log to ChatPGT and it thinks that Cheat++ and/or Gameplay++ are the most likely culprits.

Here's some of what ChatGPT said:

Thanks for the detailed report and log/save. I never had this problems nor my testers. I will take a look at your save/mods and log. And see what is happening. Thanks for reporting the problem! And sorry for it causing troubles for you.

15 days ago

SDHarkon wrote:

I'm using a total of 11 mods on a custom map I made myself (based on the Island Hopping map published here) and a few days ago the game started to sometimes crash when I was deleting belts, pipes or rail tracks. Since then this has worsened to where I'm barely able to play for a few minutes between crashes.

I tried to isolate the problem, but loading a different save (on a different map) and loading the same 11 mods did not show the same problems.

So I threw the log to ChatPGT and it thinks that Cheat++ and/or Gameplay++ are the most likely culprits.

Here's some of what ChatGPT said:

Like computerneek said, be careful with ChatGPT analysis; it was pretty far off on the specifics in this one.

I couldn't get a hard crash on my end after testing the save for a while.
But with your log and my log and your map/save i found that Gameplay++ and Cheat++ is fighting each other I'll fix the 4 problems i see and that should solve it for you. If you have discord please send me a dm and i will give you test version to try out. Again thanks for reporting the problem!

15 days ago

His save is now Saved. 😊

👍 1
49 Showing 15 of 5
Log in to reply.