Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mod does not work at all for me #10

Open
djjm007 opened this issue Jan 3, 2024 · 0 comments
Open

Mod does not work at all for me #10

djjm007 opened this issue Jan 3, 2024 · 0 comments

Comments

@djjm007
Copy link

djjm007 commented Jan 3, 2024

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.<>c__DisplayClass3_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<Il2CppAssets.Scripts.Simulation.Simulation::GetSimulationBehaviorDiscount>(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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant