doombubbles / ascended-upgrades

Mod for infinitely upgradeding BTD6 towers with special Ascended Upgrades
18 stars 13 forks source link

Mod does not work at all for me #10

Open djjm007 opened 8 months ago

djjm007 commented 8 months ago

I have tried everything to get this mod to work, uninstalling mods to see if there i s a conflict, reinstalling the game, reinstalling MelonLoader (6.2.0 because 6.1.0 caused my game to start to lock up and not work right), all i see when i try to run an upgrade on my towers is a Console message saying: During invoking native->managed trampoline, followed by an error message: [BloonsTD6_Mod_Helper] System.InvalidOperationException: Sequence contains more than one element at System.Linq.ThrowHelper.ThrowMoreThanOneElementException() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable1 source, Boolean& found) at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable1 source, TSource defaultValue) at AscendedUpgrades.Extensions.<>cDisplayClass3_0.b__1(AscendedUpgrade upgrade) in /home/runner/work/ascended-upgrades/ascended-upgrades/AscendedUpgrades/Extensions.cs:line 34 at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func`2 elementSelector) at AscendedUpgrades.Extensions.GetAscendedStacks(Tower tower) in /home/runner/work/ascended-upgrades/ascended-upgrades/AscendedUpgrades/Extensions.cs:line 32 at AscendedUpgrades.Simulation_GetSimulationBehaviorDiscount.Postfix(Tower tower, Int32 path, Single& result) in /home/runner/work/ascended-upgrades/ascended-upgrades/AscendedUpgrades/Patches.cs:line 213 at DMD(Simulation this, Tower tower, Int32 path, Int32 tier, Single currentDiscount) at (il2cpp -> managed) GetSimulationBehaviorDiscount(IntPtr , IntPtr , Int32 , Int32 , Single , Il2CppMethodInfo* )

Ill also attach my log Latest.log