DSP-Mods icon indicating copy to clipboard operation
DSP-Mods copied to clipboard

[BUG] - Error when loading planet with corrupted belts

Open Zaazik opened this issue 2 years ago • 4 comments

Describe the bug Error crash when come to planet, first im write in DSP discord in bug section. Some guy, inspect my save and tell me

It seems like conveyor belts' data on that planet is modified. It can be an issue caused by a corrupted blueprint. We can't fix every belt's data, even if we could, it would highly likely cause other errors.

image

To Reproduce dnk, im build manufacture planet, and i warp away on main planed. after 30 min, i come back and has error

Log files System.IndexOutOfRangeException: Index was outside the bounds of the array. at CargoTraffic.AlterPathRenderer (System.Int32 pathId, System.Boolean isFacting) [0x0010a] in <802e807582fc40e69fdab424a816833b>:0 at CargoTraffic.CreateRenderingBatches () [0x00139] in <802e807582fc40e69fdab424a816833b>:0 at PlanetModelingManager.LoadingPlanetFactoryMain (PlanetData planet) [0x0093c] in <802e807582fc40e69fdab424a816833b>:0 at PlanetModelingManager.LoadingPlanetFactoryCoroutine () [0x00053] in <802e807582fc40e69fdab424a816833b>:0

Screenshots If applicable, add screenshots to help explain your problem.

Additional context image image

https://drive.google.com/file/d/1t6T3vpx_6k2zM95QpyOO1fpmWkvNZrgk/view?usp=sharing

Zaazik avatar Jan 09 '24 09:01 Zaazik

image

Zaazik avatar Jan 09 '24 09:01 Zaazik

Were you removing belts using drag remove feature? Or other features that use fast remove feature? You might be able to avoid such issues by disabling fast remove algorithm in mod settings.

limoka avatar Jan 09 '24 14:01 limoka

I think about it, i see some belt without this pice of belt. Can it bee save in BP? Or can it bee after undo, redo? i dont remember when its happen.

Zaazik avatar Jan 09 '24 20:01 Zaazik

Experienced this issue myself, which ended up bricking a save. Unfortunately I don't recall the exact instance for why it occurred, but if I could speculate it was because of either when I was attempting to place a blueprint on a coordinate boundary(the yellow lines in build mode that break up which regions you can put down a blue print). Or when I was tweaking the blueprint to be placed by changing the belt from mk1 to mk2 in the blueprint screen.

Ryflamer avatar Mar 10 '24 19:03 Ryflamer