xiaoye97 / xiaoye97-BepInEx-Plugins

基于BepInex的Unity游戏插件
57 stars 23 forks source link

IndexOutOfRangeException error. Happens at the same time everytime I load a save #17

Open DrSpreadem opened 3 years ago

DrSpreadem commented 3 years ago
Exception hit 14754 times: IndexOutOfRangeException: Array index is out of range.
SuperBelt.SuperBelt.CargoPathPatch (CargoPath) <0x00771>
(wrapper dynamic-method) CargoPath.DMD<CargoPath..Update> (CargoPath) <0x00027>
CargoTraffic.GameTick (long,bool) <0x000c3>
(wrapper dynamic-method) PlanetFactory.DMD<PlanetFactory..GameTick> (PlanetFactory,long) <0x001d5>
(wrapper dynamic-method) GameData.DMD<GameData..GameTick> (GameData,long) <0x0029a>
GameMain.FixedUpdate () <0x00262>

Target methods matching by name:
System.Void CargoPath::Update()
System.Void PlanetFactory::GameTick(System.Int64 time)
System.Void GameData::GameTick(System.Int64 time)

Relevant plugins:
1. harmony-auto-96f14c0f-3a17-4b6c-99ff-ca12fda40a69 - xiaoye97-SuperBelt\SuperBelt.dll
    Postfix[index=0]: static System.Boolean SuperBelt.SuperBelt::CargoPathPatch(CargoPath __instance)

==================