Zukoix / HiveMindMonkey

2 stars 2 forks source link

[Bug] Can't sell/crashes #1

Open modderongithub opened 2 years ago

modderongithub commented 2 years ago

Whenever you try to sell a Hive Mind monkey that has been upgraded at least once, it doesn't sell but gives you the money. In Sandbox, hitting the button to sell all towers crashes the game.

modderongithub commented 2 years ago

at UnhollowerBaseLib.Il2CppException.RaiseExceptionIfNecessary (System.IntPtr returnedException) [0x00018] in <0d78579fe0744baaa87f6f150cc3197a>:0 at (wrapper dynamic-method) Assets.Scripts.Unity.UI_New.InGame.InGame.DMD<Assets.Scripts.Unity.UI_New.InGame.InGame::SellTower>(Assets.Scripts.Unity.UI_New.InGame.InGame,Assets.Scripts.Unity.Bridge.TowerToSimulation) at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.DMD<Assets.Scripts.Unity.UI_New.InGame.InGame::SellTower>_il2cpp(intptr,intptr) [16:32:44.295] [ERROR] Exception in Harmony patch of method void Assets.Scripts.Unity.UI_New.InGame.InGame::SellTower(Assets.Scripts.Unity.Bridge.TowerToSimulation tower): UnhollowerBaseLib.Il2CppException: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.